import * as React from 'react'; import * as SelectPrimitive from '@radix-ui/react-select'; import { Check, ChevronDown } from 'lucide-react'; import { cn } from '@/lib/utils'; export const Select = SelectPrimitive.Root; export const SelectGroup = SelectPrimitive.Group; export const SelectValue = SelectPrimitive.Value; export const SelectTrigger = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => ( span]:truncate', className, )} {...props} > {children} )); SelectTrigger.displayName = SelectPrimitive.Trigger.displayName; export const SelectContent = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, children, position = 'popper', ...props }, ref) => ( {children} )); SelectContent.displayName = SelectPrimitive.Content.displayName; export const SelectItem = React.forwardRef< React.ComponentRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => ( {children} )); SelectItem.displayName = SelectPrimitive.Item.displayName;