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