use-form
Communicate the component with external forms.
Module
import {
useForm,
useFormListener,
useFormInputHidden,
useFormInputRadio
} from "@atomico/hooks/use-form";useForm syntax
const ref = useForm()useFormListener syntax
useFormListener("reset",handler);useFormInputHidden syntax
useFormInputHidden("my-field","my-value");useFormInputRadio
Example
Last updated
Was this helpful?
