mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Lint
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user