-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DuotonePicker/DuotoneSwatch: Add stories #43225
Conversation
Size Change: 0 B Total Size: 1.28 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thank you! 🚀
argTypes: { | ||
clearable: { control: { type: 'boolean' } }, | ||
onChange: { action: 'onChange' }, | ||
unsetable: { control: { type: 'boolean' } }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a curious propname, wonder why this was preferred over more standard prop names like readonly
or disabled
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I missed it 😅
What?
Adds Storybook stories for DuotonePicker and DuotoneSwatch.
Why?
We're going to be doing some refactors on the color-related components, and these duotone components are missing basic stories.
Testing Instructions
npm run storybook:dev
and check stories for DuotonePicker and DuotoneSwatch.