Skip to content

Commit

Permalink
Update JS-doc for mapPropsToErrors to reference errors state (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebrobbs authored Feb 4, 2020
1 parent 48cad7c commit 5e94402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/formik/src/withFormik.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface WithFormikConfig<
mapPropsToTouched?: (props: Props) => FormikTouched<Values>;

/**
* Map props to the form touched state
* Map props to the form errors state
*/
mapPropsToErrors?: (props: Props) => FormikErrors<Values>;

Expand Down

1 comment on commit 5e94402

@vercel
Copy link

@vercel vercel bot commented on 5e94402 Feb 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.