import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import InfoNotification from './InfoNotification'; const meta = { title: 'Components/NotificationMessage/InfoNotification', component: InfoNotification, 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; 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 } };