UNPKG

mainstack-library

Version:

component library for the mainstack frontend task

33 lines (27 loc) 578 B
import type { Meta, StoryObj } from "@storybook/react"; import { Button } from "."; const meta: Meta<typeof Button> = { title: "Components/Button", component: Button, tags: ["autodocs"], }; export default meta; type Story = StoryObj<typeof Button>; export const Primary: Story = { args: { children: "Primary Button", variant: "primary", }, }; export const Secondary: Story = { args: { children: "Secondary Button", variant: "secondary", }, }; export const Ghost: Story = { args: { children: "Ghost Button", variant: "ghost", }, };