2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/components/design/Button/Button.stories.tsx

16 lines
338 B
TypeScript
Raw Normal View History

2021-10-24 05:48:06 +02:00
import { Meta, Story } from '@storybook/react'
import { Button as Component, ButtonProps } from './Button'
const Stories: Meta = {
title: 'Button',
component: Component
}
export default Stories
export const Button: Story<ButtonProps> = (arguments_) => (
<Component {...arguments_} />
)
Button.args = { children: 'Get started' }