Skip to content

Commit

Permalink
reformatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
recondesigns committed Feb 23, 2024
1 parent 24240b1 commit 1f093cf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions components/Buttons/Button/__stories__/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import { Meta, StoryObj } from '@storybook/react'
import { Meta, StoryObj } from '@storybook/react';
import Button from '../Button';

type ButtonStoryType = StoryObj<typeof Button>
type ButtonStoryType = StoryObj<typeof Button>;

export const Default: ButtonStoryType = {
render: args => <Button {...args} />,
args: {
children: 'Button'
}
}
children: 'Button',
},
};

const meta: Meta<typeof Button> = {
title: 'Buttons/Button',
component: Button,
parameters: {
actions: {
handles: ['click']
}
}
}
handles: ['click'],
},
},
};

export default meta
export default meta;

0 comments on commit 1f093cf

Please sign in to comment.