mirror of https://github.com/acid-info/lsd.git
story(lsd-react): add disabled property to Button stories
This commit is contained in:
parent
994b1e390c
commit
45b83041c8
|
@ -1,9 +1,14 @@
|
|||
import { Meta, Story } from '@storybook/react'
|
||||
import { Button } from './Button'
|
||||
import { Button, ButtonProps } from './Button'
|
||||
|
||||
export default {
|
||||
title: 'Button',
|
||||
component: Button,
|
||||
} as Meta
|
||||
|
||||
export const Root: Story = (args) => <Button {...args}>Button</Button>
|
||||
export const Root: Story<ButtonProps> = (args) => (
|
||||
<Button {...args}>Button</Button>
|
||||
)
|
||||
Root.args = {
|
||||
disabled: false,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue