Signed-off-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
18 lines
453 B
TypeScript
18 lines
453 B
TypeScript
import { ErrorLayout } from "./ErrorLayout";
|
|
import type { Meta, StoryObj } from "@storybook/react";
|
|
|
|
export default {
|
|
title: "Layouts/ErrorLayout",
|
|
component: ErrorLayout,
|
|
argTypes: {},
|
|
} satisfies Meta<typeof ErrorLayout>;
|
|
|
|
type Story = StoryObj<typeof ErrorLayout>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
title: "Something went wrong",
|
|
description: "An unexpected error occurred. Please try again later.",
|
|
},
|
|
};
|