-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
component: GlobalStylesThe React component.The React component.
Description
I'd like to be able to add a custom attribute to each style tag with some sort of global config. I know the option is there for jss: https://cssinjs.org/jss-api/?v=v10.0.0-alpha.22#create-style-sheet
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior 🤔
Should have a global config that will add a given style element attribute key and value to one or more generated style elements.
Current Behavior 😯
Does not have a global config that will add a given style element attribute key and value to one or more generated style elements.
Examples 🌈
I'd like to add the data-senna-track="temporary" to each style tag:
Context 🔦
We are using Liferay and it needs to know which style tags to remove on page navigation.
Metadata
Metadata
Assignees
Labels
component: GlobalStylesThe React component.The React component.