import type { Meta, StoryObj } from "@storybook/react"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
CommandSeparator,
} from "./Command"
/**
* Fast, composable, unstyled command menu for React.
*/
const meta = {
title: "command/Command",
component: Command,
tags: ["autodocs"],
argTypes: {},
args: {
className: "rounded-lg w-96 border shadow-md",
},
render: args => (
No results found.
Calendar
Search Emoji
Calculator
Profile
Billing
Settings
),
parameters: {
layout: "centered",
},
} satisfies Meta
export default meta
type Story = StoryObj
/**
* The default form of the command.
*/
export const Default: Story = {}