mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
22 lines
410 B
TypeScript
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>,
|
|
},
|
|
};
|