fix: remove form.Form for headless form.getFormProps()

This commit is contained in:
Tanner Linsley
2023-05-04 15:39:15 -07:00
parent 357235342e
commit b37628d337
5 changed files with 20 additions and 49 deletions

View File

@@ -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