conflict between args and property #30139
Unanswered
nishykatavitex
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi guys, i'm new to Storybook, I am creating stories for component Calendar (react daypicker) from Shadcn. It needs date so I have to use a state for it. And I have so many stories that repeat the same code is state for the component. So I decide to write a component that have state and just pass args in each story. But it came a bug type like these pictures below, can someone explain me why ?
The reuse component:
The bug type, though I set mode is single and the setDate is one Date
If I remove args, it cleaned.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions