fix: change DataTable headers prop type

This commit is contained in:
albert 2020-09-19 22:32:53 +02:00
commit 2bf6509c2a

2
types/index.d.ts vendored
View file

@ -721,7 +721,7 @@ export class DataTable extends CarbonSvelteComponent {
/** /**
* Specify the data table headers * Specify the data table headers
*/ */
headers?: { key: string; value: string }; headers?: { key: string; value: string }[];
/** /**
* Specify the rows the data table should render * Specify the rows the data table should render