react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
30 lines (29 loc) • 834 B
TypeScript
import 'react';
import { BaseComponent } from '../../commons';
export default class BaseInput extends BaseComponent {
static displayName: string;
static propTypes: any;
static defaultProps: {
validateOnBlur: boolean;
};
constructor(props: any);
componentDidMount(): void;
/** Events */
onFocus: (...args: any[]) => void;
onBlur: (...args: any[]) => void;
onChange: (event: any) => void;
onChangeText: (text: any) => void;
/** Actions */
getTypography(): any;
hasText(): any;
isFocused(): any;
focus(): void;
blur(): void;
clear(): void;
validate: any;
isRequiredField(): boolean;
getRequiredPlaceholder(placeholder: any): any;
getErrorMessage(): any;
getColor(value: string): string;
toggleExpandableModal(...args: any[]): any;
}