'use client' import * as React from 'react' import { Command as CommandPrimitive } from 'cmdk' import { cn } from '@/lib/utils' import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from '@/components/ui/dialog' import { InputGroup, InputGroupAddon } from '@/components/ui/input-group' import { SearchIcon, CheckIcon } from 'lucide-react' const Command = ({ className, ...props }: React.ComponentProps) => ( ) const CommandDialog = ({ title = 'Comandos', description = 'Busque um comando para executar.', children, className, showCloseButton = false, ...props }: React.ComponentProps & { title?: string description?: string className?: string showCloseButton?: boolean }) => ( {title} {description} {children} ) const CommandInput = ({ className, ...props }: React.ComponentProps) => (
) const CommandList = ({ className, ...props }: React.ComponentProps) => ( ) const CommandEmpty = ({ className, ...props }: React.ComponentProps) => ( ) const CommandGroup = ({ className, ...props }: React.ComponentProps) => ( ) const CommandSeparator = ({ className, ...props }: React.ComponentProps) => ( ) const CommandItem = ({ className, children, ...props }: React.ComponentProps) => ( {children} ) const CommandShortcut = ({ className, ...props }: React.ComponentProps<'span'>) => ( ) export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, }