export type for getting variants from @tw-classed/core package #46
Locked
keithkraker
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I agree, will export asap! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed in 1.2.4 I missed this one, thanks for the feedback!! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to get the VariantProps type while using the core package? If not, it would be great to export something. This is how it's done with the react package:
I found a way to do it on my end by looking at the source for the react package but was wondering if a type should also be available in the core package?
This is my way of getting the correct type from the core package and could be something that gets added and exported:
and this is how I'm using it:
Would love to see this exported from the core package. Let me know what you think!
Beta Was this translation helpful? Give feedback.
All reactions