This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / web / src / lib / components / repo / PanelHeader.stories.svelte
578 B 16 lines
1<script module lang="ts"> 2 import { defineMeta } from "@storybook/addon-svelte-csf"; 3 import Logs from "$icon/logs"; 4 import PanelHeader from "./PanelHeader.svelte"; 5 6 const { Story } = defineMeta({ 7 title: "Repo/PanelHeader", 8 component: PanelHeader, 9 tags: ["autodocs"], 10 args: { title: "Commits", href: "/dawn/tangled/commits/main", icon: Logs, count: 42 } 11 }); 12</script> 13 14<Story name="With count" /> 15<Story name="Approximate count" args={{ title: "Branches", count: 100, approximate: true }} /> 16<Story name="Without count" args={{ title: "Files", count: undefined }} />