-
Notifications
You must be signed in to change notification settings - Fork 0
CRAFT-1978: add ToggleButton docs #809
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
packages/nimbus/src/components/toggle-button/toggle-button.dev.mdx
Outdated
Show resolved
Hide resolved
|
|
||
| ### Accessibility | ||
|
|
||
| The ToggleButton component is built on React Aria's ToggleButton, which provides robust accessibility features out of the box. |
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.
Line 214 does this (for me) by outlining the case where an icon-only button is used.
packages/nimbus/src/components/toggle-button/toggle-button.dev.mdx
Outdated
Show resolved
Hide resolved
packages/nimbus/src/components/toggle-button/toggle-button.docs.spec.tsx
Outdated
Show resolved
Hide resolved
misama-ct
left a comment
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.
Thank you!
| @@ -0,0 +1,465 @@ | |||
| --- | |||
| title: ToggleButton Component | |||
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.
I had trouble finding the component via the Search, it was only showing the ToggleButtonGroup, then I noticed the regular mdx-file still uses Toggle Button instead of ToggleButton as title, you mind changing it as well?

Adds engineering docs for ToggleButton.