import { Story, Meta } from "@storybook/react";
import { AutoType } from "@griddo/core";

import {{NAME}} from ".";

export default {
	title: "Modules/{{NAME}}",
	component: {{NAME}},
} as Meta;

const Template: Story<AutoType.{{NAME}}> = (props: AutoType.{{NAME}}) => {
	return <{{NAME}} {...props} />;
};

export const Play = Template.bind({});
Play.args = {
	anchorID: "any-id",
	title: {
		content: "The title",
		tag: "h2",
	},
};
