refactor(data-table-skeleton): remove exported props

Supports #7

- Add supported component to readme
This commit is contained in:
Eric Liu 2019-12-18 09:27:48 -08:00
commit 42f01372f0
2 changed files with 3 additions and 2 deletions

View file

@ -24,6 +24,7 @@ Currently, the following components are supported:
- CodeSnippetSkeleton
- Copy
- CopyButton
- DataTableSkeleton
- InlineLoading
- Loading
- Link

View file

@ -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)}