import { Select as BaseSelect } from '@base-ui/react/select'; import clsx from 'clsx'; import Check from '@/components/icons/check.svg?react'; import DropdownArrow from '@/components/icons/dropdown-arrow.svg?react'; import { twMerge } from '@/utils/twMerge'; 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} ))} ); }