feat(data-table): add nonExpandableRowIds prop #861

This commit is contained in:
Eric Liu 2021-10-18 20:41:56 -07:00
commit cab576c335
4 changed files with 64 additions and 38 deletions

View file

@ -99,6 +99,12 @@ export interface DataTableProps
*/
expandedRowIds?: DataTableRowId[];
/**
* Specify the ids for rows that should not be expandable
* @default []
*/
nonExpandableRowIds?: DataTableRowId[];
/**
* Set to `true` for the radio selection variant
* @default false