mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
feat(data-table): support empty table body columns
This commit is contained in:
parent
04fc011e7b
commit
3c02829e73
7 changed files with 299 additions and 238 deletions
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
@ -798,6 +798,8 @@ export class DataTable extends CarbonSvelteComponent {
|
|||
value: string;
|
||||
display?: (item) => string;
|
||||
sort?: (a, b) => number;
|
||||
empty?: boolean;
|
||||
columnMenu?: boolean;
|
||||
}[];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue