UNPKG

@react-form-fields/native-base

Version:

Native Base Form Fields

24 lines (23 loc) 772 B
import { NativeBase } from 'native-base'; import * as React from 'react'; import { IErrorMessageProps } from './ErrorMessage'; export interface IWrapperProps extends React.Props<{}> { label?: string; marginBottom?: boolean; helperText?: string; LabelProps?: NativeBase.Label; ItemProps?: NativeBase.Item; loading?: boolean; leftIcon?: string; leftIconAction?: (e?: any) => void; rightIcon?: string; rightIconAction?: (e?: any) => void; hideErrorMessage?: boolean; _onLabelPress?: (e?: any) => void; _onPress?: (e?: any) => void; _disabled?: boolean; } declare const Wrapper: React.MemoExoticComponent<(props: IWrapperProps & IErrorMessageProps & { readonly?: boolean; }) => JSX.Element>; export default Wrapper;