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