Replies: 1 comment
-
following this. |
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 have generated my typescript types for semantic tokens using the CLI, and works as expected in most cases, but im not sure how to get intellisense when building out a theme file for a new custom component, e.g -
the only way I can can get TS help for semantic token suggestions is to use
as
to cast the type of the objectbut I was hoping to use the chakra factory for this
container
element instead of a Box component, e.g.so in this case casting to
BoxProps
for an element that isn't aBox
seems a bit hacky.Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions