feat(datatable-skeleton): change to size prop

This commit is contained in:
albert 2020-09-24 10:35:13 +02:00
commit 8d571d2a29
2 changed files with 8 additions and 7 deletions

5
types/index.d.ts vendored
View file

@ -789,10 +789,9 @@ export class DataTableSkeleton extends CarbonSvelteComponent {
rows?: number;
/**
* Set to `true` to use the compact variant
* @default false
* Set the size of the data table
*/
compact?: boolean;
size?: "compact" | "short" | "tall";
/**
* Set to `true` to apply zebra styles to the datatable rows