UNPKG

react-native-platform-searchbar

Version:
23 lines (22 loc) 1.39 kB
import React from 'react'; import { TextInput } from 'react-native'; declare const SearchBar: React.ForwardRefExoticComponent<import("react-native").TextInputProps & { value: string; onChangeText(text: string): void; theme?: "light" | "dark" | undefined; cancelText?: string | undefined; cancelTextStyle?: import("react-native").StyleProp<import("react-native").TextStyle>; cancelAccessibilityLabel?: string | undefined; iconColor?: string | undefined; placeholderTextColor?: string | undefined; leftIcon?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined; style?: import("react-native").StyleProp<import("react-native").ViewStyle>; inputStyle?: import("react-native").StyleProp<import("react-native").TextStyle>; children?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined; onCancel?(): void; onClear?(): void; clearAccessibilityLabel?: string | undefined; } & { platform?: "ios" | "android" | "default" | undefined; } & React.RefAttributes<TextInput>>; export default SearchBar;