import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { Box } from "./Box"; import { Input } from "../Input"; import { Button } from "../Button"; import { Divider } from "../Divider"; import { cx } from "../../utils"; const meta: Meta = { title: "UI/Box", component: Box, }; export default meta; type Story = StoryObj; export const Default: Story = { render: () => Hello world, }; export const AsForm: Story = { render: () => (
{ event.preventDefault(); console.log("event", event); }} >
), };