-
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
ToggleGroupControl: Improve stories for Docs view #43265
Conversation
37a78fa
to
4b8d7c5
Compare
Size Change: +592 B (0%) Total Size: 1.24 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 🚀
title: 'Components (Experimental)/ToggleGroupControl', | ||
subcomponents: { ToggleGroupControlOption, ToggleGroupControlOptionIcon }, | ||
argTypes: { | ||
// TODO: Should this component be non-polymorphic? |
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.
🧹
'aria-label': 'Descending', | ||
showTooltip: true, | ||
}, | ||
].map( mapPropsToOptionComponent ), |
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.
Neat!
What?
Why?
To improve DevEx and documentation.
Testing Instructions
npm run storybook:dev
and see the ToggleGroupControl page in Docs view.