import { TextInput } from "react-native"; import { InputProps } from "../Input"; import React from "react"; import { IconName } from "../Icon"; export type TextFieldProps = { /** * A small label text to add to the input field. */ label?: string; /** * Secondary small label text to add to the input field. */ meta?: string; /** * A unit describing the input value. */ unit?: string; /** * A description to add to the input field. Use this when more information around the input field is required. */ helperText?: string; /** * An icon to add to inside the inputfield on the right side. */ inputIcon?: IconName; /** * An icon to add to the left of the helper text. */ helperIcon?: IconName; } & Omit; export declare const TextField: React.ForwardRefExoticComponent<{ /** * A small label text to add to the input field. */ label?: string; /** * Secondary small label text to add to the input field. */ meta?: string; /** * A unit describing the input value. */ unit?: string; /** * A description to add to the input field. Use this when more information around the input field is required. */ helperText?: string; /** * An icon to add to inside the inputfield on the right side. */ inputIcon?: IconName; /** * An icon to add to the left of the helper text. */ helperIcon?: IconName; } & Omit & React.RefAttributes>;