Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839<script module lang="ts"> import { defineMeta } from "@storybook/addon-svelte-csf"; import Comment from "#lib/components/comment/Comment.svelte"; import { sampleComments } from "#fixtures/comments.ts";
const { erin, grace } = sampleComments;
const { Story } = defineMeta({ title: "Comment/Comment", component: Comment, tags: ["autodocs"], argTypes: { variant: { control: "inline-radio", options: ["top", "reply"] } }, args: { authorHandle: erin.authorHandle, authorDid: erin.authorDid, createdAt: erin.createdAt, body: erin.body, markup: { repo: "tangled.org/core", ref: "main", host: "tangled.org" }, subjectUri: erin.uri, variant: "top" } });</script>
<Story name="Top level" /><Story name="Reply" args={{ variant: "reply", authorHandle: grace.authorHandle, authorDid: grace.authorDid, createdAt: grace.createdAt, body: grace.body, subjectUri: grace.uri }}/>