Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334<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.ts";
const entry: StringCardData = { rkey: "3mrkgcxb4m422", ownerHandle: "tangled.org", filename: "flake.nix", description: "Reproducible dev shell for the appview.", createdAt: "2025-06-01T10:30:00Z", sizeLabel: "2.1 KB" };
const { Story } = defineMeta({ title: "Profile/StringCard", component: StringCard, tags: ["autodocs"], argTypes: { border: { control: "boolean" }, background: { control: "boolean" } }, args: { entry, border: true, background: true } });</script>
<!-- the strings tab skeleton is captured from this, so it gets a grid cell's width --><Story name="Default" parameters={{ bones: { class: "w-full md:w-[calc(50%-7px)] lg:w-122" } }} /><Story name="Plain" args={{ border: false, background: false }} />