'use client'; import type { DialogProps } from '@radix-ui/react-dialog'; import { Command as CommandPrimitive } from 'cmdk'; import Search from 'lucide-react/dist/esm/icons/search'; import * as React from 'react'; import { Dialog, DialogContent } from '@/components/ui/dialog'; import { cn } from '@/lib/utils'; const Command = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); Command.displayName = CommandPrimitive.displayName; const CommandDialog = ({ children, ...props }: DialogProps) => { return ( {children} ); }; const CommandInput = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => (
); CommandInput.displayName = CommandPrimitive.Input.displayName; const CommandList = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); CommandList.displayName = CommandPrimitive.List.displayName; const CommandEmpty = ({ ref, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); CommandEmpty.displayName = CommandPrimitive.Empty.displayName; const CommandGroup = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); CommandGroup.displayName = CommandPrimitive.Group.displayName; const CommandSeparator = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); CommandSeparator.displayName = CommandPrimitive.Separator.displayName; const CommandItem = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); CommandItem.displayName = CommandPrimitive.Item.displayName; const CommandShortcut = ({ className, ...props }: React.HTMLAttributes) => { return ( ); }; CommandShortcut.displayName = 'CommandShortcut'; export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };