-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type arguments on useDripsyTheme
#111
Comments
Hey thanks for the issue. It's a duplicate of #72 I wanted this too, it's just a bit complicated since this is a hook that is exported from theme UI. For now, I recommend just wrapping it with a I know it's worse to cast the types, but if you just do it once in a single wrapper hook, it's not too bad. I'll see if I can come up with a better solution in the future. |
Here's what I have in my app: #72 (comment) |
This might be relevant: #82 (comment) |
Thank you for replying so quickly and showing interest in this issue! 🙏 |
Here's a preview of what's in v3... Code.-.hook.tsx.dripsy.mp4 |
Hello, thanks for this awesome package!
I'm maintaining a type for my theme, and I'd like to assert that type and hopefully without doing type-casting in components.
Maybe it's worth adding something like this?
Would you be open for an PR?
The text was updated successfully, but these errors were encountered: