mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore: remove storybook
This commit is contained in:
parent
856086dc71
commit
378fe06e03
116 changed files with 103 additions and 14249 deletions
|
@ -1,31 +0,0 @@
|
|||
import {
|
||||
withKnobs,
|
||||
array,
|
||||
boolean,
|
||||
number,
|
||||
select,
|
||||
} from "@storybook/addon-knobs";
|
||||
import Component from "./DataTableSkeleton.Story.svelte";
|
||||
|
||||
export default { title: "DataTableSkeleton", decorators: [withKnobs] };
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
columns: number("Number of columns", 5),
|
||||
rows: number("Number of rows", 5),
|
||||
zebra: boolean("Use zebra stripe (zebra)", false),
|
||||
size: select(
|
||||
"Row height (size)",
|
||||
{ compact: "compact", short: "short", tall: "tall", none: null },
|
||||
null
|
||||
),
|
||||
showHeader: boolean("Show header", true),
|
||||
headers: array(
|
||||
"Optional table headers (headers)",
|
||||
["Name", "Protocol", "Port", "Rule", "Attached Groups"],
|
||||
","
|
||||
),
|
||||
showToolbar: boolean("Show toolbar", true),
|
||||
},
|
||||
});
|
|
@ -1,7 +0,0 @@
|
|||
<script>
|
||||
import DataTableSkeleton from "./DataTableSkeleton.svelte";
|
||||
</script>
|
||||
|
||||
<div style="width: 800px">
|
||||
<DataTableSkeleton {...$$props} />
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue