mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
feat(data-table-skeleton): support object type for headers
This commit is contained in:
parent
4226535338
commit
a450b83bd8
6 changed files with 53 additions and 24 deletions
|
@ -183,6 +183,13 @@
|
|||
rows="{10}"
|
||||
/>
|
||||
|
||||
<DataTableSkeleton
|
||||
headers="{[{ value: 'Name' }, { value: 'Protocol' }, { value: 'Port' }, { value: 'Rule' }]}"
|
||||
rows="{10}"
|
||||
/>
|
||||
|
||||
<DataTableSkeleton headers="{headers}" rows="{10}" />
|
||||
|
||||
<DataTableSkeleton showHeader="{false}" showToolbar="{false}" />
|
||||
|
||||
<DataTableSkeleton showHeader="{false}" showToolbar="{false}" size="tall" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue