export const Select = ({ options, value, setValue }) => (
    <div class="input-select">
        <select onInput={e => setValue?.(e.target.value)}>
            {Object.entries(options).map(([k, v]) => (
                <option value={k} selected={value === k}>
                    {v}
                </option>
            ))}
        </select>
        <span class="material-symbols-outlined">expand_more</span>
    </div>
)
