mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-06 04:19:43 +00:00
fix: remove form.Form for headless form.getFormProps()
This commit is contained in:
@@ -45,7 +45,7 @@ export default function App() {
|
||||
<div>
|
||||
<h1>Simple Form Example</h1>
|
||||
{/* A pre-bound form component */}
|
||||
<form.Form>
|
||||
<form {...form.getFormProps()}>
|
||||
<div>
|
||||
{/* A type-safe and pre-bound field component*/}
|
||||
<form.Field
|
||||
|
||||
Reference in New Issue
Block a user