This commit is contained in:
Bilux 2023-05-19 01:32:26 +00:00 committed by GitHub
commit b567da92db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 4 deletions

View file

@ -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<