mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 21:49:55 -05:00
07e16838b8
Bootstrap 5 base GitOrigin-RevId: 2ac614298d31a9cf65430a46d726648a742044f9
21 lines
467 B
TypeScript
21 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
|