UNPKG

react-native-modern-elements

Version:

A modern, customizable UI component library for React Native

22 lines (19 loc) 608 B
import { TextInput, TextInputProps, TextStyle, TouchableOpacityProps, ViewStyle } from "react-native"; export interface InputProps extends TextInputProps { icon?: React.ReactNode; containerStyle?: ViewStyle; inputStyle?: TextStyle; inputRef?: React.RefObject<TextInput>; secureTextEntry?: boolean; cancellIcon?: any; // label?: string; // error?: string; } export interface CustomButtonProps extends TouchableOpacityProps { style?: ViewStyle; onPress?: () => void; loading?: boolean; children: React.ReactNode; disabled?: boolean; className?: string; }