import React from "react"; import { Meta, StoryObj } from "@storybook/react-webpack5"; import { ChartLoader, ChartPlaceholder } from "./ChartLoader"; import { Card } from "../../tremor/Card"; const meta: Meta = { component: ChartLoader, title: "Components/Chart Loader", argTypes: {}, }; export default meta; type Story = StoryObj; export const Variants: Story = { render: (args) => (
{["bar", "line", "metric"].map((type) => ( ))}
{["line", "bar", "metric"].map((type) => ( ))}
{["metric", "bar", "line"].map((type) => ( ))}
), args: {}, };