import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import WarningNotification from './WarningNotification'; const meta = { title: 'Components/NotificationMessage/WarningNotification', component: WarningNotification, argTypes: { ariaLive: argTypes.ariaLive(), children: argTypes.children(), headingLevel: argTypes.headingLevel(), icon: { table: { disable: true } }, 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