UNPKG

@janiscommerce/ui-native

Version:
11 lines (10 loc) 420 B
import React from 'react'; import { TextInput, TextInputProps } from 'react-native'; export interface BaseInputProps extends TextInputProps { placeholder?: string; onChangeText?: (text: string) => void; style?: any; textAlign?: 'center' | 'left' | 'right' | undefined; } declare const BaseInput: React.ForwardRefExoticComponent<BaseInputProps & React.RefAttributes<TextInput>>; export default BaseInput;