// This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck 'use client' 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 { Dialog, DialogContent } from '@/components/ui/dialog' import { cn } from '@/lib/utils' // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck // This file is not typed correctly from shadcn, so we're disabling the type checker // @ts-nocheck const Command = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { children?: React.ReactNode } >(({ className, ...props }, ref) => ( )) Command.displayName = CommandPrimitive.displayName const CommandDialog = ({ children, ...props }: DialogProps) => { return ( {children} ) } const CommandInput = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { placeholder?: string } >(({ className, ...props }, ref) => (
)) CommandInput.displayName = CommandPrimitive.Input.displayName const CommandList = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { children?: React.ReactNode } >(({ className, ...props }, ref) => ( )) CommandList.displayName = CommandPrimitive.List.displayName const CommandEmpty = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { children?: React.ReactNode } >((props, ref) => ( )) CommandEmpty.displayName = CommandPrimitive.Empty.displayName const CommandGroup = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { children?: React.ReactNode } >(({ className, ...props }, ref) => ( )) CommandGroup.displayName = CommandPrimitive.Group.displayName const CommandSeparator = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) CommandSeparator.displayName = CommandPrimitive.Separator.displayName const CommandItem = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { children?: React.ReactNode onSelect?: () => void className?: string } >(({ 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, }