import { html, TemplateResult } from 'lit-html'; import '../skhemata-form'; export default { title: 'General/SkhemataForm/SkhemataForm', component: 'skhemata-blog', argTypes: { textBoxLabel: { control: 'text' }, textAreaLabel: { control: 'text' }, }, }; interface Story { (args: T): TemplateResult; args?: Partial; argTypes?: Record; } interface ArgTypes { textBoxLabel?: string; textAreaLabel?: string; } const Template: Story = ({ textBoxLabel = 'Text Box', textAreaLabel = 'Text Area', }: ArgTypes) => html` console.log(e.detail.data)} resetonsubmit > `; export const Example = Template.bind({}); Example.args = { textBoxLabel: 'Text Box', textAreaLabel: 'Text Area', }; Example.parameters = { docs: { source: { code: ` `, }, }, };