UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

20 lines (19 loc) 748 B
import type { IInputProps } from '../../primitives/Input'; import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; import type { ISelectProps } from '../../primitives/Select'; import type { ITextAreaProps } from '../../primitives/TextArea'; import type { CustomProps } from '../../../components/types'; declare type componentsSpecificProps = ({ component?: 'input'; } & IInputProps) | ({ component?: 'textarea'; } & ITextAreaProps) | ({ component?: 'select'; } & ISelectProps); export declare type ITextFieldProps = (componentsSpecificProps & InterfaceStackProps & { helperText?: string; errorMessage?: string; _helperTextProps?: any; _errorMessageProps?: any; }) & CustomProps<'TextField'>; export {};