import { ChevronDown } from 'lucide-react'; import { Button, Label, ListBox, ListBoxItem, Popover, Select as AriaSelect, SelectValue, } from 'react-aria-components'; import field from './Field.module.css'; import { icon } from './icon'; import styles from './Select.module.css'; export interface Option { id: string; label: string; } interface Props { label: string; options: Option[]; value: string; onChange: (value: string) => void; } /** * A choice out of a short fixed list โ€” the language pair of a book. * * A native `