import { Meta, StoryObj } from "@storybook/react-vite"; import { Flash } from "."; const meta = { title: "Components/Flash", component: Flash, } satisfies Meta; export default meta; type Story = StoryObj; export const Playbook: Story = { args: { color: "yellow", children: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Soluta quod consequatur exercitationem delectus ad quibusdam ipsa officia consectetur laboriosam perspiciatis beatae incidunt sequi, velit sint aspernatur? Aliquid eum culpa cum.", className: "", }, }; const colors = ["yellow", "green", "blue", "orange", "red", "gray"] as const; export const Context = () => (
{colors.map((color) => ( There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger. There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger. There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger. ))}
);