FormContext

Description

FormContext provides a way to share a form state to another components in the tree.

Usage

jsx
const form = useForm(...)
<ContextForm.Provider value={form}>
{/* ....another components */}
</ContextForm.Provider>