import { IoCheckmark } from 'react-icons/io5'; import { LuChevronsUpDown } from 'react-icons/lu'; import { Select as BaseSelect } from '@base-ui-components/react/select'; import { cx } from '../../utils/styleUtils'; import styles from './Select.module.scss'; export type SelectOption = { value: T; label: string; disabled?: boolean; }; interface SelectProps extends Omit, 'items'> { options: SelectOption[]; fluid?: boolean; size?: 'medium' | 'large'; } export default function Select({ options, fluid, size = 'medium', ...selectRootProps }: SelectProps) { return ( {options.map(({ disabled, label, value }) => ( {label} ))} ); }