import Button from '@/features/ui/components/bootstrap-5/button' import type { Meta, StoryObj } from '@storybook/react' import OLModal, { OLModalHeader, OLModalBody, OLModalFooter, OLModalTitle, } from '@/features/ui/components/ol/ol-modal' type Story = StoryObj export const Default: Story = { render: args => { return ( Heading

Lorem ipsum dolor sit lorem a amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

) }, } export const ModalWithAcknowledgment: Story = { render: args => { return ( Acknowledgment

System requires an acknowledgment from the user. Usually contains only one primary button.

) }, } export const ModalWithSecondary: Story = { render: args => { return ( Heading

Lorem ipsum dolor sit lorem a amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

) }, } export const ModalWithTertiary: Story = { render: args => { return ( Heading

Used for destructive or irreversible actions.

) }, } export const ModalInformative: Story = { render: args => { return ( Informative

Presents information for the user to be aware of and doesn’t require any action.

) }, } export const ModalDanger: Story = { render: args => { return ( Danger

Lorem ipsum dolor sit lorem a amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

) }, } const meta: Meta = { title: 'Shared / Components / Modal', component: OLModal, argTypes: { size: { control: 'radio', options: ['lg', 'md', 'sm'], }, }, } export default meta