CSS Type with config extensions #1125
Answered
by
rangitha
leo-petrucci
asked this question in
Help
-
In my app I've got a couple of components I use to create containers for other elements:
This allows me to pass a Now this works great, but I've noticed that the
These work if I pass them, but they're not autocompleted which can be annoying. Is there any way to use the |
Beta Was this translation helpful? Give feedback.
Answered by
rangitha
Dec 8, 2022
Replies: 1 comment
-
The CSS type that ships with Stitches is generic. Use the type parameter to type it with your config:
You could then use your own CSS type elsewhere! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
leo-petrucci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CSS type that ships with Stitches is generic. Use the type parameter to type it with your config:
You could then use your own CSS type elsewhere!