Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
Svelte
123456789101112131415161718192021222324252627282930313233<script module lang="ts"> import { defineMeta } from "@storybook/addon-svelte-csf"; import StringCard from "$lib/components/profile/StringCard.svelte"; import type { StringCardData } from "$lib/components/profile/types";
const entry: StringCardData = { rkey: "3mrkgcxb4m422", ownerHandle: "tangled.org", filename: "flake.nix", description: "Reproducible dev shell for the appview.", createdAt: "2025-06-01T10:30:00Z", lines: 84 };
const { Story } = defineMeta({ title: "Profile/StringCard", component: StringCard, tags: ["autodocs"], argTypes: { border: { control: "boolean" }, background: { control: "boolean" } }, args: { entry, border: true, background: true } });</script>
<Story name="Default" /><Story name="Plain" args={{ border: false, background: false }} />