mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Move rest props to datatable container in DataTable Skeleton to align with DataTable usage (#441)
Co-authored-by: Richard O'flynn <richard.oflynn@brighter-software.co.uk>
This commit is contained in:
parent
495ae2780a
commit
1559d0f9d6
1 changed files with 5 additions and 2 deletions
|
@ -41,7 +41,11 @@
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class:bx--skeleton="{true}" class:bx--data-table-container="{true}">
|
<div
|
||||||
|
class:bx--skeleton="{true}"
|
||||||
|
class:bx--data-table-container="{true}"
|
||||||
|
{...$$restProps}
|
||||||
|
>
|
||||||
{#if showHeader}
|
{#if showHeader}
|
||||||
<div class:bx--data-table-header="{true}">
|
<div class:bx--data-table-header="{true}">
|
||||||
<div class:bx--data-table-header__title="{true}"></div>
|
<div class:bx--data-table-header__title="{true}"></div>
|
||||||
|
@ -66,7 +70,6 @@
|
||||||
class:bx--data-table--short="{size === 'short'}"
|
class:bx--data-table--short="{size === 'short'}"
|
||||||
class:bx--data-table--tall="{size === 'tall'}"
|
class:bx--data-table--tall="{size === 'tall'}"
|
||||||
class:bx--data-table--zebra="{zebra}"
|
class:bx--data-table--zebra="{zebra}"
|
||||||
{...$$restProps}
|
|
||||||
on:click
|
on:click
|
||||||
on:mouseover
|
on:mouseover
|
||||||
on:mouseenter
|
on:mouseenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue