@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
17 lines (16 loc) • 553 B
TypeScript
import React from 'react';
import { TextInput, TextInputProperties } from 'react-native';
export interface TextInputProps extends TextInputProperties {
focused?: boolean;
}
declare class Input extends React.Component<TextInputProps, any> {
inputRef: TextInput | null;
constructor(props: TextInputProps);
UNSAFE_componentWillReceiveProps(nextProps: TextInputProps): void;
componentDidMount(): void;
componentDidUpdate(): void;
focus: () => void;
clear: () => void;
render(): React.JSX.Element;
}
export default Input;