2023-11-07 12:35:05 +09:00
|
|
|
import { Meta } from '@storybook/react';
|
2022-09-07 09:00:28 +02:00
|
|
|
import { FatalErrorStateModal } from './FatalErrorStateModal';
|
2022-05-27 22:27:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
const meta = {
|
2022-05-27 22:27:20 -07:00
|
|
|
title: 'owncast/Modals/Global error state',
|
|
|
|
component: FatalErrorStateModal,
|
|
|
|
parameters: {},
|
2023-11-07 12:35:05 +09:00
|
|
|
} satisfies Meta<typeof FatalErrorStateModal>;
|
2022-05-27 22:27:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export default meta;
|
2022-05-27 22:27:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export const Example = {
|
|
|
|
args: {
|
|
|
|
title: 'Example error title',
|
|
|
|
message: 'Example error message',
|
|
|
|
},
|
2022-05-27 22:27:20 -07:00
|
|
|
};
|