'use client'; import * as SelectPrimitive from '@radix-ui/react-select'; import Check from 'lucide-react/dist/esm/icons/check'; import ChevronDown from 'lucide-react/dist/esm/icons/chevron-down'; import ChevronUp from 'lucide-react/dist/esm/icons/chevron-up'; import * as React from 'react'; import { cn } from '@/lib/utils'; const Select = SelectPrimitive.Root; const SelectGroup = SelectPrimitive.Group; const SelectValue = SelectPrimitive.Value; const SelectTrigger = ({ ref, className, children, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( span]:line-clamp-1', className, )} {...props} > {children} ); SelectTrigger.displayName = SelectPrimitive.Trigger.displayName; const SelectScrollUpButton = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName; const SelectScrollDownButton = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName; const SelectContent = ({ ref, className, children, position = 'popper', ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( {children} ); SelectContent.displayName = SelectPrimitive.Content.displayName; const SelectLabel = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); SelectLabel.displayName = SelectPrimitive.Label.displayName; const SelectItem = ({ ref, className, children, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( {children} ); SelectItem.displayName = SelectPrimitive.Item.displayName; const SelectSeparator = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref?: React.RefObject | null> }) => ( ); SelectSeparator.displayName = SelectPrimitive.Separator.displayName; export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };