import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; import { WithThemeStyles } from '../theme'; import { FormItemStyles } from './styles/FormItem'; import { stnr } from '../../interface'; import { RuleItem } from '../../interface/rules'; export interface FormItemProps extends WithThemeStyles { prop?: stnr; rules?: RuleItem | Array; style?: ViewStyle; errorStyle?: ViewStyle; error?: Array; errorWrapperStyle?: ViewStyle; errorTextStyle?: TextStyle; value?: stnr; model?: any; form?: any; label?: stnr | React.ReactNode; labelWidth?: number; labelAlign?: string; onChange?: (text: stnr) => void; } declare const _default: React.ComponentClass; export default _default;