UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

36 lines (35 loc) 1.07 kB
/// <reference types="react" /> import React from 'react'; import InputItemProps from './PropsType'; declare class InputItem extends React.Component<InputItemProps, any> { static defaultProps: { prefixCls: string; prefixListCls: string; type: string; editable: boolean; disabled: boolean; placeholder: string; clear: boolean; onChange: () => void; onBlur: () => void; onFocus: () => void; extra: string; onExtraClick: () => void; error: boolean; onErrorClick: () => void; labelNumber: number; updatePlaceholder: boolean; }; debounceTimeout: any; constructor(props: any); componentWillReceiveProps(nextProps: any): void; componentWillUnmount(): void; onInputChange: (e: any) => void; onInputFocus: (value: any) => void; onInputBlur: (value: any) => void; onExtraClick: (e: any) => void; onErrorClick: (e: any) => void; clearInput: () => void; render(): JSX.Element; } export default InputItem;