UNPKG

@devrue/rn-select

Version:

Custom typescript only select component for react native

14 lines 661 B
/// <reference types="react" /> import type { TextStyle, ViewStyle } from 'react-native'; import type { TextInputProps } from 'react-native'; import type { IconStyle } from '../types'; interface Props extends Omit<TextInputProps, 'style'> { onBackPress?: () => void; searchContainerStyle?: ViewStyle; searchInputStyle?: TextStyle; searchBackIconStyle?: IconStyle; searchClearIconStyle?: IconStyle; } export default function SearchBox({ onBackPress, onChangeText, placeholder, searchContainerStyle, searchInputStyle, searchBackIconStyle, searchClearIconStyle, ...rest }: Props): JSX.Element; export {}; //# sourceMappingURL=SearchBox.d.ts.map