Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 10d6622

Browse files
committed
fix: add initialValues as render prop for Form component
1 parent e99006e commit 10d6622

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Form/Form.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ export default function Form({ validate, ...props }: Props) {
8181
isValidating: formik.isValidating,
8282
/** Number of times user tried to submit the form */
8383
submitCount: formik.submitCount,
84-
85-
handleReset: formik.handleReset,
86-
84+
/** Initial values of form */
85+
initialValues: formik.initialValues,
86+
/** Current values of form */
8787
values: formik.values,
8888
})}
8989
/>

0 commit comments

Comments
 (0)