@janiscommerce/ui-native
Version:
components library for Janis app
11 lines (10 loc) • 420 B
TypeScript
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;