This commit is contained in:
Presley
2022-04-25 22:09:43 +00:00
parent 5d6d0c116a
commit 861969eead
2 changed files with 4 additions and 4 deletions
@@ -5,9 +5,9 @@ import { FormFooter, FormFooterProps } from "./FormFooter"
export default {
title: "components/FormFooter",
component: FormFooter,
argTypes:{
onCancel: { action: "cancel" }
}
argTypes: {
onCancel: { action: "cancel" },
},
} as ComponentMeta<typeof FormFooter>
const Template: Story<FormFooterProps> = (args) => <FormFooter {...args} />
@@ -31,5 +31,5 @@ export const Example = Template.bind({})
Example.args = {
title: "My Form",
detail: "Lorem ipsum dolor",
onCancel: action("cancel")
onCancel: action("cancel"),
}