1 import type { Meta, StoryObj } from "@storybook/react"
2 import * as React from "react"
3
4 import { Divider } from "./divider"
5
6 const meta: Meta<typeof Divider> = {
7 title: "Components/Divider",
8 component: Divider,
9 parameters: {
10 layout: "centered",
11 },
12 render: (args) => (
13 <div className="flex h-[200px] w-[200px] items-center justify-center">
14 <Divider {...args} />
15 </div>
16 ),
17 }
18
19 export default meta
20
21 type Story = StoryObj<typeof Divider>
22
23 export const Horizontal: Story = {
24 args: {
25 orientation: "horizontal",
26 },
27 }
28
29 export const Vertical: Story = {
30 args: {
31 orientation: "vertical",
32 },
33 }
34
35 export const Dashed: Story = {
36 args: {
37 variant: "dashed",
38 },
39 }