Add a typescript example for wrapped daypicker component #1411
Replies: 4 comments
-
Thanks for the suggestion. Are you using v8 or v7? |
Beta Was this translation helpful? Give feedback.
-
I think @LeunensMichiel is talking about v7 – indeed an integration example with |
Beta Was this translation helpful? Give feedback.
-
Well, I used V7 in the past, but couldn't wait to try V8. I've got it to work with |
Beta Was this translation helpful? Give feedback.
-
Can you share the code and point out where it broke, possibly via a codesandbox link? |
Beta Was this translation helpful? Give feedback.
-
Hi! Loving the package.
I was building a custom wrapper for the
Daypicker
component to make it work withreact-hook-form
and implement some custom styling, but I kept getting typescript errors. Was wondering if you could provide an example on the website on how to wrap the daypicker component for custom styling, without altering the logic. Kinda like https://react-select.com/typescript.Thank you for your work!
Beta Was this translation helpful? Give feedback.
All reactions