import { Select as BaseSelect } from '@base-ui/react/select'; import clsx from 'clsx'; import { Check, ChevronDown } from 'lucide-react'; import { twMerge } from 'tailwind-merge'; export interface SelectOption { value: T | null; label: string; disabled?: boolean; } export interface SelectProps { value: T | null; onChange: (value: T | null) => void; options: SelectOption[]; className?: string; 'aria-label'?: string; 'data-testid'?: string; } export function Select({ value, onChange, options, className, 'aria-label': ariaLabel, 'data-testid': dataTestId, }: SelectProps) { return (   {options.map((option) => ( {option.label} ))} ); }