'use client' import { cn } from '@/utilities/ui' import * as SelectPrimitive from '@radix-ui/react-select' import { Check, ChevronDown, ChevronUp } from 'lucide-react' import * as React from 'react' const Select = SelectPrimitive.Root const SelectGroup = SelectPrimitive.Group const SelectValue = SelectPrimitive.Value const SelectTrigger: React.FC< { ref?: React.Ref } & React.ComponentProps > = ({ children, className, ref, ...props }) => ( span]:line-clamp-1', className, )} ref={ref} {...props} > {children} ) const SelectScrollUpButton: React.FC< { ref?: React.Ref } & React.ComponentProps > = ({ className, ref, ...props }) => ( ) const SelectScrollDownButton: React.FC< { ref?: React.Ref } & React.ComponentProps< typeof SelectPrimitive.ScrollDownButton > > = ({ className, ref, ...props }) => ( ) const SelectContent: React.FC< { ref?: React.Ref } & React.ComponentProps > = ({ children, className, position = 'popper', ref, ...props }) => ( {children} ) const SelectLabel: React.FC< { ref?: React.Ref } & React.ComponentProps > = ({ className, ref, ...props }) => ( ) const SelectItem: React.FC< { ref?: React.Ref; value: string } & React.ComponentProps< typeof SelectPrimitive.Item > > = ({ children, className, ref, ...props }) => ( {children} ) const SelectSeparator: React.FC< { ref?: React.Ref } & React.ComponentProps > = ({ className, ref, ...props }) => ( ) export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, }