import { useRef, useState } from 'preact/hooks' import { Icon } from './Icon.jsx' let ids = 0 function generateId() { return 'combo-id-' + ids++ } export const ComboBox = ({ options, value, setValue }) => { const [uid] = useState(() => generateId()) const selectRef = useRef() return (
) }