-
Notifications
You must be signed in to change notification settings - Fork 866
[Emotion] Export component styles #8710
Copy link
Copy link
Closed as not planned
Description
It would be nice to have access to the css styles used in the components so that if we want to use some other component, we can apply the styles.
The example I have is using react-textarea-autosize and wanting to style it like elastic ui.
I've been using an older version of elastic ui and still including the .css files, and can use the css classnames to get the same styling.
However, now that everything has migrated to emotion, I'm not sure there is a consistent way to do that.
Exporting the styles of each component from the elastic ui package would allow re-using the styles and be useful even just for any custom component that may need to be created.
Example to export from the package:
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for Enhancement.