feat: add Storybook component explorer
This commit is contained in:
parent
f1dc95b51c
commit
d95f064189
47 changed files with 1730 additions and 8 deletions
16
src/lib/ui/stories/FooterStatusCell.stories.svelte
Normal file
16
src/lib/ui/stories/FooterStatusCell.stories.svelte
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<script module lang="ts">
|
||||
import { defineMeta } from "@storybook/addon-svelte-csf";
|
||||
import FooterStatusCell from "../components/FooterStatusCell.svelte";
|
||||
import { statusItems } from "./story-data";
|
||||
|
||||
const { Story } = defineMeta({
|
||||
title: "Dashboard Primitives/FooterStatusCell",
|
||||
component: FooterStatusCell,
|
||||
tags: ["autodocs"],
|
||||
});
|
||||
</script>
|
||||
|
||||
<Story name="Label Value" args={{ item: statusItems.ok }} />
|
||||
<Story name="Action Cell" args={{ item: statusItems.action }} />
|
||||
<Story name="Stale" args={{ item: statusItems.stale }} />
|
||||
<Story name="Long Value" args={{ item: statusItems.long }} />
|
||||
Loading…
Add table
Add a link
Reference in a new issue