import type { SelectHTMLAttributes } from "react"; import { cn, inputClass, type InputState } from "@/lib/ui/variants"; interface SelectProps extends SelectHTMLAttributes { controlSize?: "sm" | "md"; state?: InputState; } const selectSizes: Record, string> = { sm: "px-2 py-1 text-xs", md: "px-3 py-2 text-sm", }; export function Select({ className, controlSize = "md", state, ...props }: SelectProps) { return (