16 lines
610 B
Svelte
16 lines
610 B
Svelte
<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 }} />
|