"use client"; import { forwardRef } from "react"; import { cn } from "@/lib/utils"; import { ChevronDown } from "lucide-react"; interface SelectProps extends React.SelectHTMLAttributes { label?: string; options: { value: string | number; label: string }[]; error?: string; } export const Select = forwardRef( ({ className, label, options, error, id, ...props }, ref) => { return (
{label && ( )}
{error &&

{error}

}
); } ); Select.displayName = "Select";