"use client"; import * as React from "react"; import { type DialogProps } from "@radix-ui/react-dialog"; import { MagnifyingGlassIcon } from "@radix-ui/react-icons"; import { Command as CommandPrimitive } from "cmdk"; import { cn } from "@/lib/utils"; import { Dialog, DialogContent } from "@/components/ui/dialog"; const Command = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); Command.displayName = CommandPrimitive.displayName; interface CommandDialogProps extends DialogProps {} const CommandDialog = ({ children, ...props }: CommandDialogProps) => { return ( {children} ); }; const CommandInput = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => (
); CommandInput.displayName = CommandPrimitive.Input.displayName; const CommandList = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); CommandList.displayName = CommandPrimitive.List.displayName; const CommandEmpty = ({ ref, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); CommandEmpty.displayName = CommandPrimitive.Empty.displayName; const CommandGroup = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); CommandGroup.displayName = CommandPrimitive.Group.displayName; const CommandSeparator = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); CommandSeparator.displayName = CommandPrimitive.Separator.displayName; const CommandItem = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); 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, };