MDK Logo
UI Kitreact-devkitHooks

useFormField

Read-only context hook for form field children — returns the field's id, error state, and ARIA attributes.

Read-only context hook for form field children — returns the field's id, error state, and ARIA attributes.

import { useFormField } from "@tetherto/mdk-react-devkit";

Signature

() => UseFormFieldReturn
Package@tetherto/mdk-react-devkit