Open xballoy opened 4 years ago
Component must have their own style ? Or need more documentation ? Because Design System explain these 2 css imports.
I would say that components must have their own style because currently you must have a dependency on your component, core and all to make it work. But we could just update the documentation in the readme to start.
I used the Getting started to display a component without importing all the style of the toolkit.
This behavior can be reproduced on almost all components.
Expected
Actual
To make it work we need to add a dependency on
react-toolkit-all
,react-toolkit-core
and import more CSS.Source of the sample: https://codesandbox.io/s/blazing-cache-seesi