fleet/frontend/components/DataError/DataError.stories.tsx
2023-05-03 17:51:33 +01:00

22 lines
410 B
TypeScript

import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import DataError from "./DataError";
const meta: Meta<typeof DataError> = {
title: "Components/DataError",
component: DataError,
};
export default meta;
type Story = StoryObj<typeof DataError>;
export const Basic: Story = {};
export const WithChildren: Story = {
args: {
children: <p>this is custom JSX</p>,
},
};