mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Adding display attr to DataTableCell (#615)
This commit is contained in:
parent
2676d8d045
commit
47c79b16c7
2 changed files with 9 additions and 8 deletions
1
types/DataTable/DataTable.d.ts
vendored
1
types/DataTable/DataTable.d.ts
vendored
|
@ -33,6 +33,7 @@ export type DataTableRowId = string;
|
|||
export interface DataTableCell {
|
||||
key: DataTableKey;
|
||||
value: DataTableValue;
|
||||
display?: (item: Value) => DataTableValue;
|
||||
}
|
||||
|
||||
export interface DataTableProps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue