import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import ConfirmationMessage from './ConfirmationMessage'; const meta = { title: 'Deprecated/ConfirmationMessage', component: ConfirmationMessage, argTypes: { ariaLive: argTypes.ariaLive(), children: argTypes.children(), headingLevel: argTypes.headingLevel(), isDismissable: argTypes.boolean() }, args: { ariaLive: 'polite', children: (

You have added the landlord John Smith to the application.

), headingLevel: 'h3', isDismissable: false, title: 'Landlord added successfully', } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { }; export const NoChildren: Story = { args: { children: undefined } }; export const DifferentHeadingLevel: Story = { args: { headingLevel: 'h2' } }; export const Dismissable: Story = { args: { isDismissable: true } };