import { default as React, InputHTMLAttributes } from 'react'; import { InputValidator } from '../Input/BaseInput'; type SelectBoxProps = Omit, 'onChange'> & { itemList: SelectItemProps[]; onChange: (value: ValueType) => void; disabled?: boolean; errorValidation?: InputValidator[]; label?: string; bottomSheetTitle?: string; }; interface SelectItemProps { label: string; value: ValueType; } /** * Controlled select input. Thin convenience wrapper over the composable `ui/select` primitives. * Desktop opens a Radix Popover dropdown; mobile (≤1199px) opens the `ui/bottomSheet` sheet. For custom * triggers, grouped/disabled items or bespoke layouts, compose `Select`, `SelectTrigger`, `SelectContent`, * `SelectItem` directly instead of this wrapper. */ declare const SelectBox: React.FC; export type { SelectBoxProps, SelectItemProps }; export { SelectBox }; //# sourceMappingURL=index.d.ts.map