Skip to content

Commit bcc1dec

Browse files
docs: sync UseFormProps type with current source (add validate, formControl) (#1210)
1 parent ecb9ba7 commit bcc1dec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/content/ts.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ export type UseFormProps<
285285
progressive: boolean
286286
criteriaMode: CriteriaMode
287287
delayError: number
288+
formControl?: Omit<
289+
UseFormReturn<TFieldValues, TContext, TTransformedValues>,
290+
"formState"
291+
>
292+
validate: ValidateForm<TFieldValues>
288293
}>
289294
```
290295

0 commit comments

Comments
 (0)