-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat(component): add hidden headers props to Table and StatefulTable #297
Conversation
name: 'hiddenHeaders', | ||
types: 'boolean', | ||
defaultValue: 'false', | ||
description: 'Visually hides the headers.', |
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.
🤷♀
description: 'Visually hides the headers.', | |
description: 'Hides the current tables\'s headers. Headers are only visually hidden to keep with accessibility best practices.', |
name: 'hiddenHeaders', | ||
types: 'boolean', | ||
defaultValue: 'false', | ||
description: 'Visually hides the headers.', |
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.
🤷♀
description: 'Visually hides the headers.', | |
description: 'Hides the current tables\'s headers. Headers are only visually hidden to keep with accessibility best practices.', |
@@ -60,6 +60,12 @@ const tableProps: Prop[] = [ | |||
types: 'boolean', | |||
description: 'Makes the table header and actions fixed.', | |||
}, | |||
{ | |||
name: 'hiddenHeaders', |
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.
What about headerless
?
0bd0c5e
to
6b164ec
Compare
6b164ec
to
4a45c96
Compare
Adds a boolean
headerless
to<Table />
and<StatefulTable />
.Headers will be rendered but visually hidden for accessibility purposes.