CSS Type with config extensions #1125
-
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.
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.
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!