'use client'; import * as React from 'react'; const Command = React.forwardRef>( ({ className, ...props }, ref) => (
) ); Command.displayName = 'Command'; const CommandInput = React.forwardRef< HTMLInputElement, React.InputHTMLAttributes >(({ className, ...props }, ref) => ( )); CommandInput.displayName = 'CommandInput'; const CommandList = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CommandList.displayName = 'CommandList'; const CommandEmpty = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CommandEmpty.displayName = 'CommandEmpty'; const CommandGroup = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CommandGroup.displayName = 'CommandGroup'; const CommandItem = React.forwardRef< HTMLDivElement, React.HTMLAttributes & { onSelect?: () => void } >(({ className, onSelect, ...props }, ref) => (
)); CommandItem.displayName = 'CommandItem'; export { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, };