add comments in storybook
This commit is contained in:
@@ -4,7 +4,9 @@ interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
|
||||
variant: 'primary' | 'secondary'
|
||||
size: 'sm' | 'md' | 'lg'
|
||||
}
|
||||
|
||||
/**
|
||||
* Button component
|
||||
*/
|
||||
export const Button = ({
|
||||
children,
|
||||
variant,
|
||||
|
||||
@@ -18,6 +18,7 @@ export default meta
|
||||
|
||||
type Story = StoryObj<typeof Button>
|
||||
|
||||
/** This is the primary Button */
|
||||
export const Primary: Story = {
|
||||
args: {
|
||||
children: 'Primary Button',
|
||||
|
||||
Reference in New Issue
Block a user