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

	const { Story } = defineMeta({
		title: "UI/LoadMore",
		component: LoadMore,
		tags: ["autodocs"],
		argTypes: {
			loading: { control: { type: "boolean" } },
			failed: { control: { type: "boolean" } }
		},
		args: {
			onclick: () => {}
		}
	});
</script>

<Story name="Default" />
<Story name="Loading" args={{ loading: true }} />
<Story name="Failed" args={{ failed: true }} />
