mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
refactor(data-table-skeleton): remove exported props
Supports #7 - Add supported component to readme
This commit is contained in:
parent
7a21a3150e
commit
42f01372f0
2 changed files with 3 additions and 2 deletions
|
@ -24,6 +24,7 @@ Currently, the following components are supported:
|
||||||
- CodeSnippetSkeleton
|
- CodeSnippetSkeleton
|
||||||
- Copy
|
- Copy
|
||||||
- CopyButton
|
- CopyButton
|
||||||
|
- DataTableSkeleton
|
||||||
- InlineLoading
|
- InlineLoading
|
||||||
- Loading
|
- Loading
|
||||||
- Link
|
- Link
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
export let rowCount = 5;
|
export let rowCount = 5;
|
||||||
export let columnCount = 5;
|
export let columnCount = 5;
|
||||||
export let headers = [];
|
export let headers = [];
|
||||||
export let props = {};
|
export let style = undefined;
|
||||||
|
|
||||||
import { cx } from '../../lib';
|
import { cx } from '../../lib';
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<table {...props} on:click on:mouseover on:mouseenter on:mouseleave class={_class}>
|
<table on:click on:mouseover on:mouseenter on:mouseleave {style} class={_class}>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{#each columns as column, i (column)}
|
{#each columns as column, i (column)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue