/** @jsx h */ import { h } from 'preact'; import { cx } from '@algolia/ui-components-shared'; export type SelectorOption = { value?: string | number; label: string; }; export type SelectorComponentCSSClasses = { root: string; select: string; option: string; }; export type SelectorProps = { cssClasses: SelectorComponentCSSClasses; currentValue?: string | number; options: SelectorOption[]; setValue(value: SelectorOption['value']): void; }; function Selector({ currentValue, options, cssClasses, setValue, }: SelectorProps) { return ( ); } export default Selector;