import type { Meta, StoryObj } from '@storybook/react-vite';
import argTypes from '../../../.storybook/sgdsArgTypes';
import ErrorSummary from './ErrorSummary';
const meta = {
title: 'Components/ErrorSummary',
component: ErrorSummary,
argTypes: {
title: {
description: 'The title of the error summary',
type: 'string'
},
children: argTypes.children()
},
args: {
children: <>
Did this resolve your issue?
What topics are you interested in?
Please provide more detail
>,
title: 'There is a problem'
}
} satisfies Meta;
export default meta;
type Story = StoryObj;
export const Default: Story = {
};