@baseplate-dev/ui-components
Version:
Shared UI component library
22 lines • 1.6 kB
TypeScript
import type * as React from 'react';
import { Command as CommandPrimitive } from 'cmdk';
import { Dialog } from '../dialog/dialog.js';
/**
* Fast, composable, unstyled command menu for React.
*
* https://ui.shadcn.com/docs/components/command
*/
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.ReactElement;
declare function CommandDialog({ title, description, children, ...props }: React.ComponentProps<typeof Dialog> & {
title?: string;
description?: string;
}): React.ReactElement;
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.ReactElement;
declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): React.ReactElement;
declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): React.ReactElement;
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): React.ReactElement;
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): React.ReactElement;
declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.ReactElement;
declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): React.ReactElement;
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
//# sourceMappingURL=command.d.ts.map