mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 09:57:55 -05:00
22 lines
467 B
TypeScript
22 lines
467 B
TypeScript
|
import Button from '@/features/ui/components/bootstrap-5/button'
|
||
|
import type { Meta } from '@storybook/react'
|
||
|
|
||
|
type Args = React.ComponentProps<typeof Button>
|
||
|
|
||
|
export const NewButton = (args: Args) => {
|
||
|
return <Button {...args} />
|
||
|
}
|
||
|
|
||
|
const meta: Meta<typeof Button> = {
|
||
|
title: 'Shared / Components / Bootstrap 5 / Button',
|
||
|
component: Button,
|
||
|
args: {
|
||
|
children: 'A Bootstrap 5 button',
|
||
|
},
|
||
|
parameters: {
|
||
|
bootstrap5: true,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export default meta
|