"use client"; import * as React from "react"; import * as SelectPrimitive from "@radix-ui/react-select"; import { cn } from "@/lib/style"; import { icons } from "@/components/icons"; import { Indicator } from "@/components/indicator"; export type Props = React.ComponentPropsWithoutRef; export const { Root, Group, Value } = SelectPrimitive; export const Trigger = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => ( {children} )); Trigger.displayName = SelectPrimitive.Trigger.displayName; export const Content = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, position = "popper", ...props }, ref) => ( {children} )); Content.displayName = SelectPrimitive.Content.displayName; export const Label = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); Label.displayName = SelectPrimitive.Label.displayName; export const Item = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => ( {children} )); Item.displayName = SelectPrimitive.Item.displayName; export const Separator = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); Separator.displayName = SelectPrimitive.Separator.displayName;