import type { Meta, StoryObj } from "@storybook/react-vite" import CommandPalette from "../CommandPalette" import type { ICommandPaletteContainerProps } from "../types" const Palette = (props: { defaultSlice: string variant: ICommandPaletteContainerProps["variant"] }) => (
F1 cars of 2025 WEC SF-25 W16 RB21 MCL39 AMR25 VF-25 FW47 499P GR010 GR020 Porsche 963
) const meta: Meta = { title: "Example/Command Palette", component: Palette, } satisfies Meta type Story = StoryObj export const Small: Story = { args: { defaultSlice: "F1", variant: "sm", }, } export const Medium: Story = { args: { defaultSlice: "F1", variant: "md", }, } export const Large: Story = { args: { defaultSlice: "F1", variant: "lg", }, } export default meta