This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/ErrorPage/ErrorPage.stories.tsx
2021-10-24 05:48:06 +02:00

16 lines
386 B
TypeScript

import { Meta, Story } from '@storybook/react'
import { ErrorPage as Component, ErrorPageProps } from './ErrorPage'
const Stories: Meta = {
title: 'ErrorPage',
component: Component
}
export default Stories
export const ErrorPage: Story<ErrorPageProps> = (arguments_) => {
return <Component {...arguments_} />
}
ErrorPage.args = { message: 'message content', statusCode: 404 }