main
| 1 | import type { Meta, StoryObj } from "@storybook/react" |
| 2 | |
| 3 | import { Kbd } from "./kbd" |
| 4 | |
| 5 | const meta: Meta<typeof Kbd> = { |
| 6 | title: "Components/Kbd", |
| 7 | component: Kbd, |
| 8 | parameters: { |
| 9 | layout: "centered", |
| 10 | }, |
| 11 | } |
| 12 | |
| 13 | export default meta |
| 14 | |
| 15 | type Story = StoryObj<typeof Kbd> |
| 16 | |
| 17 | export const Default: Story = { |
| 18 | args: { |
| 19 | children: "⌘", |
| 20 | }, |
| 21 | } |