'use client'; import * as React from 'react'; import { CaretSortIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, } from '@radix-ui/react-icons'; import * as SelectPrimitive from '@radix-ui/react-select'; import { cn } from '../lib/utils'; const Select = SelectPrimitive.Root; const SelectGroup = SelectPrimitive.Group; const SelectValue = SelectPrimitive.Value; const SelectTrigger: React.FC< React.ComponentPropsWithRef > = ({ className, children, ...props }) => ( span]:line-clamp-1', className, )} {...props} > {children} ); SelectTrigger.displayName = SelectPrimitive.Trigger.displayName; const SelectScrollUpButton: React.FC< React.ComponentPropsWithRef > = ({ className, ...props }) => ( ); SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName; const SelectScrollDownButton: React.FC< React.ComponentPropsWithRef > = ({ className, ...props }) => ( ); SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName; const SelectContent: React.FC< React.ComponentPropsWithoutRef > = ({ className, children, position = 'popper', ...props }) => ( {children} ); SelectContent.displayName = SelectPrimitive.Content.displayName; const SelectLabel: React.FC< React.ComponentPropsWithRef > = ({ className, ...props }) => ( ); SelectLabel.displayName = SelectPrimitive.Label.displayName; const SelectItem: React.FC< React.ComponentPropsWithRef > = ({ className, children, ...props }) => ( {children} ); SelectItem.displayName = SelectPrimitive.Item.displayName; const SelectSeparator: React.FC< React.ComponentPropsWithRef > = ({ className, ...props }) => ( ); SelectSeparator.displayName = SelectPrimitive.Separator.displayName; export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };