mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix: change DataTable headers prop type
This commit is contained in:
parent
be7bbeda03
commit
2bf6509c2a
1 changed files with 1 additions and 1 deletions
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
@ -721,7 +721,7 @@ export class DataTable extends CarbonSvelteComponent {
|
|||
/**
|
||||
* Specify the data table headers
|
||||
*/
|
||||
headers?: { key: string; value: string };
|
||||
headers?: { key: string; value: string }[];
|
||||
|
||||
/**
|
||||
* Specify the rows the data table should render
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue