@vtex/admin-ui-system
v0.16.0
Published
[](https://www.npmjs.com/package/@vtex/admin-ui-system)
Maintainers
Keywords
Readme
admin-ui-system
Install
yarn add @vtex/admin-ui-system @emotion/css @emotion/reactTypescript
If you are using typescript 4.1 & above, ignore the following steps
This package uses emotion v11, so if you are under typescript 4.1 you must install @emotion/react as a dev dependency and add it to your types.
⚠️ Do not install as normal dependency, otherwise it can break admin styles
yarn add @emotion/react -DAdd the types within tsconfig.json
// tsconfig.json
{
compilerOptions:{
types: ['@emotion/react/types/css-prop'],
// ...
}
// ...
}