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 / RepoTabs.stories.svelte
810 B 31 lines
1<script module lang="ts"> 2 import { defineMeta } from "@storybook/addon-svelte-csf"; 3 import RepoTabs from "./RepoTabs.svelte"; 4 import type { RepoInfo } from "./types"; 5 6 const repo: RepoInfo = { 7 uri: "at://did:plc:repo/sh.tangled.repo.repo/3jzrepo", 8 rkey: "3jzrepo", 9 name: "tangled", 10 ownerDid: "did:plc:owner", 11 ownerHandle: "dawn", 12 knot: "knot1.tangled.sh", 13 defaultBranch: "main" 14 }; 15 16 const { Story } = defineMeta({ 17 title: "Repo/RepoTabs", 18 component: RepoTabs, 19 tags: ["autodocs"], 20 args: { 21 repo, 22 counts: { stars: 128, issues: 7, pulls: 3, forks: 12 }, 23 active: "overview" 24 } 25 }); 26</script> 27 28<Story name="Overview" /> 29<Story name="Issues" args={{ active: "issues" }} /> 30<Story name="Pulls" args={{ active: "pulls" }} /> 31<Story name="Pipelines" args={{ active: "pipelines" }} />