import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { Button } from "../../../components"; const meta: Meta = { title: "Button", component: Button, }; export default meta; type Story = StoryObj; const primary: Story = { name: "Primary button", render: (_args) => , }; const start: Story = { name: "Start button", render: (_args) => , }; const secondary: Story = { name: "Secondary button", render: (_args) => , }; const warning: Story = { name: "Warning button", render: (_args) => , }; const disabled: Story = { name: "Disabled button", render: (_args) => , }; const group: Story = { name: "Button group", render: (_args) => (
), }; const groupWithLink: Story = { name: "Button group with link", render: (_args) => (
Cancel
), }; const preventDoubleClick: Story = { name: "Prevent double click button", render: (_args) => , }; export { primary, start, secondary, warning, disabled, group, groupWithLink, preventDoubleClick };