-
Notifications
You must be signed in to change notification settings - Fork 355
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(Table): Added isNoInset prop for flat tree tables #9427
Conversation
Preview: https://patternfly-react-pr-9427.surge.sh A11y report: https://patternfly-react-pr-9427-a11y.surge.sh |
@@ -57,6 +57,8 @@ export interface TableProps extends React.HTMLProps<HTMLTableElement>, OUIAProps | |||
isStriped?: boolean; | |||
/** Flag indicating this table contains expandable rows to maintain proper striping */ | |||
isExpandable?: boolean; | |||
/** Flag rows will not have the inset typically reserved for expanding/collapsing rows in a tree table. Intended for use on tree tables with no visible rows with children. */ |
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.
indicating
missing
@@ -57,6 +57,8 @@ export interface TableProps extends React.HTMLProps<HTMLTableElement>, OUIAProps | |||
isStriped?: boolean; | |||
/** Flag indicating this table contains expandable rows to maintain proper striping */ | |||
isExpandable?: boolean; | |||
/** Flag rows will not have the inset typically reserved for expanding/collapsing rows in a tree table. Intended for use on tree tables with no visible rows with children. */ | |||
isNoInset?: 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.
maybe hasNoInset
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.
LGTM 👍 Might add a follow up to showcase feature in an example.
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.
lgtm just needs a few lint errors resolved
* feat(Table): Added isNoInset prop for flat tree tables * address PR comments * add example * fix linting and a11y errors
Closes #8604