import { ComponentMeta, ComponentStory } from '@storybook/react' import { ErrorToast } from './ErrorToast' export default { title: 'DAO DAO / packages / stateless / components / toasts / ErrorToast', component: ErrorToast, } as ComponentMeta const Template: ComponentStory = (args) => ( ) export const Default = Template.bind({}) Default.args = { toast: { type: 'error', id: 'toast', message: 'Test error toast', pauseDuration: 0, ariaProps: { role: 'status', 'aria-live': 'polite', }, createdAt: Date.now(), visible: true, height: 1, }, }