mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
add an overflow menu selection variant for DataTable
This commit is contained in:
parent
ae34451583
commit
9c761137e8
2 changed files with 26 additions and 3 deletions
12
types/DataTable/DataTable.svelte.d.ts
vendored
12
types/DataTable/DataTable.svelte.d.ts
vendored
|
@ -128,6 +128,12 @@ export interface DataTableProps
|
|||
*/
|
||||
radio?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` for the overflow menu selection variant
|
||||
* @default false
|
||||
*/
|
||||
overflowMenu?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` for the selectable variant
|
||||
* Automatically set to `true` if `radio` or `batchSelection` are `true`
|
||||
|
@ -176,6 +182,12 @@ export interface DataTableProps
|
|||
* @default 0
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the TableContainer Div HTML element
|
||||
* @type {null | HTMLDivElement}
|
||||
*/
|
||||
tref?: null | HTMLDivElement;
|
||||
}
|
||||
|
||||
export default class DataTable extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue