import React from "react"; import { Meta, StoryObj } from "@storybook/react"; import DataError from "./DataError"; const meta: Meta = { title: "Components/Error Messages/Data error", component: DataError, }; export default meta; type Story = StoryObj; export const Basic: Story = {}; export const WithChildren: Story = { args: { children:

this is custom JSX

, }, }; export const SingleCustomLine: Story = { args: { singleCustomLine: true, description: "We can't retrieve data from Apple right now. Please try again later.", }, };