Is it possible to customize the generated class names? #572
Unanswered
jahirfiquitiva
asked this question in
General
Replies: 1 comment
-
Twin doesn't control this part of the process, that's controlled by your css-in-js library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed generated class names have the component name as suffix (example:
css-abc123-StyledLink
) ...is it possible to setup a custom name for generated classes? maybe via a function that receives the component name as parameter and allows transforming it into the desired name?
If not, is it possible to include such functionality? maybe something like
then, the generated html would have class name:
brand-name-abc123-styledlink
Beta Was this translation helpful? Give feedback.
All reactions