story(lsd-react): add disabled property to Button stories

This commit is contained in:
Hossein Mehrabi 2023-02-12 21:20:08 +03:30
parent 69d0590636
commit 1749b02558
1 changed files with 7 additions and 2 deletions

View File

@ -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,
}