overleaf/services/web/frontend/stories/ui/button.stories.tsx
Tim Down 07e16838b8 Merge pull request #16971 from overleaf/td-bootstrap-5-base
Bootstrap 5 base

GitOrigin-RevId: 2ac614298d31a9cf65430a46d726648a742044f9
2024-02-15 09:04:05 +00:00

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