import { type ComponentPropsWithoutRef } from 'react'; import { Select as RSelect } from 'radix-ui'; import { Check, CaretDown } from '@phosphor-icons/react'; type SelectProps = ComponentPropsWithoutRef & { placeholder?: string; items: Array<{ value: string; label: string }>; 'aria-label'?: string; }; export const Select = ({ placeholder, items, ...rest }: SelectProps) => ( {items.map((it) => ( {it.label} ))} );