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

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

<Story name="Open" />
<Story name="Merged" args={{ state: "merged" }} />
<Story name="Closed" args={{ state: "closed" }} />
<Story name="Abandoned" args={{ state: "abandoned" }} />
