<script module lang="ts">
	import { defineMeta } from "@storybook/addon-svelte-csf";
	import IssueHeader from "./IssueHeader.svelte";

	const { Story } = defineMeta({
		title: "Repo/Issues/IssueHeader",
		component: IssueHeader,
		tags: ["autodocs"],
		argTypes: {
			title: { control: "text" },
			rkey: { control: "text" }
		},
		args: {
			title: "Add a full trending repositories view",
			rkey: "3mrkgcxb4m422"
		}
	});
</script>

<Story name="Default" />
<Story
	name="Long title"
	args={{
		title:
			"Investigate intermittent failures when pushing large packfiles over the git smart protocol"
	}}
/>
