UNPKG

@uiw/react-native

Version:
23 lines (22 loc) 785 B
import React from 'react'; interface SearchBarProps { onChangeText?: (value: string) => void; options?: Array<OptionsState>; onChange?: (value: string | null) => void; onFocus?: (e: any | string) => void; onBlur?: (e: any | string) => void; labelInValue?: Boolean; disabled?: Boolean; value?: String; loading?: Boolean; placeholder?: String; extra?: JSX.Element; showClear?: boolean; } interface OptionsState { label: string; value: string | number; } declare function SearchBar({ onChangeText, options, onChange, labelInValue, disabled, value, onFocus, onBlur, loading, placeholder, extra, showClear, }: SearchBarProps): JSX.Element; declare const _default: React.MemoExoticComponent<typeof SearchBar>; export default _default;