Is it possible to use styled-components? #35
-
@gregberge I was thinking, is this project possible to use like we use styled-components? For example: const List = styled.ul`
display: inline-block;
& > li > a {
color: red;
}
`; Twc? const List = twc.ul`
inline-block
& > li > a {
text-red-500
}
`; |
Beta Was this translation helpful? Give feedback.
Answered by
gregberge
Jan 8, 2024
Replies: 1 comment
-
Hi @mthmcalixto, no twc is not a CSS in JS library, it is a class component creator. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mthmcalixto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mthmcalixto, no twc is not a CSS in JS library, it is a class component creator.