mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +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
|
||||
- Copy
|
||||
- CopyButton
|
||||
- DataTableSkeleton
|
||||
- InlineLoading
|
||||
- Loading
|
||||
- Link
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
export let rowCount = 5;
|
||||
export let columnCount = 5;
|
||||
export let headers = [];
|
||||
export let props = {};
|
||||
export let style = undefined;
|
||||
|
||||
import { cx } from '../../lib';
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
);
|
||||
</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>
|
||||
<tr>
|
||||
{#each columns as column, i (column)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue