UNPKG

artwork-react-native

Version:

artwork design master for react-native

37 lines (36 loc) 990 B
/// <reference types="react" /> /// <reference types="react-native" /> import React from 'react'; import { InputItemProps as BasePropsType } from './PropsType'; export interface InputItemProps extends BasePropsType { last?: boolean; } export default class InputItem extends React.Component<InputItemProps, any> { static defaultProps: { type: string; editable: boolean; clear: boolean; onChange: any; onBlur: any; onFocus: any; extra: string; onExtraClick: any; error: boolean; onErrorClick: any; size: string; labelNumber: number; labelPosition: string; textAlign: string; last: boolean; styles: { [x: string]: number & { __registeredStyleBrand: any; }; }; }; inputRef: any; onChange: (text: any) => void; onInputBlur: () => void; onInputFocus: () => void; render(): JSX.Element; }