-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Adding TableView/useTable/useTableState docs mdx #2011
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
So that it matches up with the ARIA roles better
Breaks apart the large example into separate components with individual code blocks.
|
Build successful! 🎉 |
|
Build successful! 🎉 |
LFDanLu
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.
Thanks for all the updates, looks really good to me. Just two really small things noted
| key anywhere in the row selects it. | ||
|
|
||
| We'll use the <TypeLink links={selectionDocs.links} type={selectionDocs.exports.SelectionManager} /> object exposed | ||
| by the `state` to determine if a row is selected, and render a pink background if so. We'll also use the <TypeLink links={focusDocs.links} type={focusDocs.exports.useFocusRing} /> |
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.
| by the `state` to determine if a row is selected, and render a pink background if so. We'll also use the <TypeLink links={focusDocs.links} type={focusDocs.exports.useFocusRing} /> | |
| by the `state` to determine if a row is selected, and render a blueviolet background if so. We'll also use the <TypeLink links={focusDocs.links} type={focusDocs.exports.useFocusRing} /> |
| ]; | ||
|
|
||
| return ( | ||
| <Flex flexGrow={1} maxWidth="size-6000"> |
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.
Do we wanna remove the Flex wrapper from the rest of the examples for consistency?
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.
yeah I think Danni hasn't pushed her changes yet.
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
To be merged after release |
|
Build successful! 🎉 |
Closes #1648 and #1913
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project: