import { FieldValue } from "@zerry/react-formz-core"; import { NativeFieldProps } from "./Field.types"; import { TextInput } from "react-native"; /** * A `Field` is a consumer of some data in its' parent `Form`. The user interface of a `Field` * is completely determined by you, the developer. This component abstracts away all of the * complexities of dealing with inputs, values, events, and validations. * * ```tsx * function UserProfile() { * return ( *
* ); * } * ``` * @param props {@link FieldProps} - The react props for the field component. * @typeParam `Value` {@link FieldValue} - The value of the input/field. * @typeParam `Key` {@link FieldId} - The input/field `name` property. This value should correspond to a property in the form. * @typeParam `Ref` - The type of react ref that will be passed to the underlying element. */ declare const Field: