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

	const { Story } = defineMeta({
		title: "Repo/Issues/IssueStatePill",
		component: IssueStatePill,
		tags: ["autodocs"],
		argTypes: {
			state: {
				control: { type: "inline-radio" },
				options: ["open", "closed"]
			}
		},
		args: {
			state: "open"
		}
	});
</script>

<Story name="Open" />
<Story name="Closed" args={{ state: "closed" }} />
