@kopexa/command
Version:
Fast, composable command menu
29 lines (26 loc) • 2.21 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { Command } from 'cmdk';
import { ComponentProps } from 'react';
type CommandRootProps = ComponentProps<typeof Command>;
declare function CommandRoot(props: CommandRootProps): react_jsx_runtime.JSX.Element;
type CommandInputProps = ComponentProps<typeof Command.Input>;
declare function CommandInput(props: CommandInputProps): react_jsx_runtime.JSX.Element;
type CommandListProps = ComponentProps<typeof Command.List>;
declare function CommandList(props: CommandListProps): react_jsx_runtime.JSX.Element;
type CommandEmptyProps = ComponentProps<typeof Command.Empty>;
declare function CommandEmpty(props: CommandEmptyProps): react_jsx_runtime.JSX.Element;
type CommandGroupProps = ComponentProps<typeof Command.Group>;
declare function CommandGroup(props: CommandGroupProps): react_jsx_runtime.JSX.Element;
type CommandSeparatorProps = ComponentProps<typeof Command.Separator>;
declare function CommandSeparator(props: CommandSeparatorProps): react_jsx_runtime.JSX.Element;
type CommandItemProps = ComponentProps<typeof Command.Item>;
declare function CommandItem(props: CommandItemProps): react_jsx_runtime.JSX.Element;
type CommandShortcutProps = ComponentProps<"span">;
declare function CommandShortcut(props: CommandShortcutProps): react_jsx_runtime.JSX.Element;
type CommandHeaderProps = ComponentProps<"div">;
declare function CommandHeader(props: CommandHeaderProps): react_jsx_runtime.JSX.Element;
type CommandTitleProps = ComponentProps<"div">;
declare function CommandTitle(props: CommandTitleProps): react_jsx_runtime.JSX.Element;
type CommandDescriptionProps = ComponentProps<"p">;
declare function CommandDescription(props: CommandDescriptionProps): react_jsx_runtime.JSX.Element;
export { CommandDescription, type CommandDescriptionProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandHeader, type CommandHeaderProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, CommandRoot, type CommandRootProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, CommandTitle, type CommandTitleProps };