story(lsd-react): controllable Button stories

This commit is contained in:
Hossein Mehrabi 2023-02-09 13:57:41 +03:30
parent e64b006170
commit e6efc29869
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
import { Meta, Story } from '@storybook/react'
import { Button } from './Button'
export default {
title: 'Button',
component: Button,
}
} as Meta
export const Root = () => <Button>Button</Button>
export const Root: Story = (args) => <Button {...args}>Button</Button>