import React from 'react'; import { useGetOptionId } from './ListBoxProvider'; import { Option } from './Option'; export type OptionsProps = { options: T[]; }; export function Options({ options }: OptionsProps) { const getOptionId = useGetOptionId(); return ( <> {options.map((option) => { const id = getOptionId(option); return