Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940<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, bodyHtml: erin.bodyHtml, 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, bodyHtml: grace.bodyHtml, subjectUri: grace.uri }}/>