Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536<script module lang="ts"> import { defineMeta } from "@storybook/addon-svelte-csf"; import Settings from "$icon/settings"; import ButtonCard from "#lib/components/ui/ButtonCard.svelte";
const { Story } = defineMeta({ title: "UI/ButtonCard", component: ButtonCard, tags: ["autodocs"], argTypes: { variant: { control: { type: "select" }, options: ["default", "ghost"] }, insetShadow: { control: "boolean" }, disabled: { control: "boolean" }, title: { control: "text" }, description: { control: "text" } }, args: { variant: "default", insetShadow: false, disabled: false, title: "Button", description: "Description" } });</script>
<Story name="Default" /><Story name="Ghost" args={{ variant: "ghost" }} /><Story name="With icon" args={{ icon: Settings }} /><Story name="Disabled" args={{ disabled: true }} /><Story name="Href" args={{ href: "/", icon: Settings }} /><Story name="Inset shadow" args={{ insetShadow: true, icon: Settings }} />