in src/components/Selector.tsx [32:52]
function Selector({ id, items, label, value, onChange }: Readonly<Props>) {
const labelId = `${id}-label`;
return (
<FormControl fullWidth>
<InputLabel id={labelId}>{label}</InputLabel>
<Select
labelId={labelId}
label={label}
id={id}
value={String(value)}
onChange={onChange}
>
{items.map((v) => (
<MenuItem key={v[0]} value={v[0]}>
{v[1]}
</MenuItem>
))}
</Select>
</FormControl>
);
}