Skip to content

Commit

Permalink
Merge branch 'main' into cohesive-types
Browse files Browse the repository at this point in the history
  • Loading branch information
bonimba authored Jul 12, 2023
2 parents b770e8e + b35b9ba commit 4adda22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/formik.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const ContactForm = ({
);
```

**Warning:** `<Formik component>` takes precendence over `<Formik render>` so
**Warning:** `<Formik component>` takes precedence over `<Formik render>` so
don’t use both in the same `<Formik>`.

### `render: (props: FormikProps<Values>) => ReactNode`
Expand Down
2 changes: 2 additions & 0 deletions examples/with-material-ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const WithMaterialUI = () => {
label="Email"
value={formik.values.email}
onChange={formik.handleChange}
onBlur={formik.handleBlur}
error={formik.touched.email && Boolean(formik.errors.email)}
helperText={formik.touched.email && formik.errors.email}
/>
Expand All @@ -49,6 +50,7 @@ const WithMaterialUI = () => {
type="password"
value={formik.values.password}
onChange={formik.handleChange}
onBlur={formik.handleBlur}
error={formik.touched.password && Boolean(formik.errors.password)}
helperText={formik.touched.password && formik.errors.password}
/>
Expand Down

0 comments on commit 4adda22

Please sign in to comment.