import { forwardRef, type SelectHTMLAttributes } from "react"; import "@shared/components/Select.css"; export interface SelectOption { value: string; label: string; disabled?: boolean; } export type SelectSize = "sm" | "md"; export interface SelectProps extends Omit< SelectHTMLAttributes, "size" > { inputSize?: SelectSize; options: SelectOption[]; /** Optional placeholder rendered as a disabled first option. */ placeholder?: string; invalid?: boolean; } export const Select = forwardRef( function Select( { inputSize = "md", options, placeholder, invalid, className, ...rest }, ref, ) { return ( ); }, );