import * as React from "react" import { type DialogProps } from "@radix-ui/react-dialog" import { Command as CommandPrimitive } from "cmdk" import { Search } from "lucide-react" import { cn } from "../libs/utils" import { Dialog, DialogContent } from "./modal/dialog" const Command: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) Command.displayName = CommandPrimitive.displayName const CommandDialog = ({ children, ...props }: DialogProps) => { return ( {children} ) } const CommandInput: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLInputElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => (
)) CommandInput.displayName = CommandPrimitive.Input.displayName const CommandList: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) CommandList.displayName = CommandPrimitive.List.displayName const CommandEmpty: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >((props, ref) => ( )) CommandEmpty.displayName = CommandPrimitive.Empty.displayName const CommandGroup: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) CommandGroup.displayName = CommandPrimitive.Group.displayName const CommandSeparator: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) CommandSeparator.displayName = CommandPrimitive.Separator.displayName const CommandItem: React.ForwardRefExoticComponent< React.RefAttributes & React.PropsWithoutRef> > = React.forwardRef< HTMLDivElement, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) CommandItem.displayName = CommandPrimitive.Item.displayName const CommandShortcut = ({ className, ...props }: React.HTMLAttributes) => { return ( ) } CommandShortcut.displayName = "CommandShortcut" export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, }