Formik: FormikProps are not listed in docs

Created on 19 Sep 2018  路  3Comments  路  Source: formium/formik

GENERIC BUG

The FormikProps (values, errors, touched, etc.) are not listed anywhere on the documentation website. Unless there is something I'm missing, I did not see them in any of the available pages. They are displayed in the examples but it is unclear as to whether or not the examples use all of the available props or if there are more available.

Most helpful comment

In case anyone else (or me in the future) gets lost and ends up here, the props can be found here
https://jaredpalmer.com/formik/docs/api/formik#formik-render-methods-and-props

All 3 comments

They are called the Formik bag in the docs. I think it makes sense to potentially have dedicated api pages just for these though. Docusaurus is not great for these kind of large render props.

I also couldn't find any documentation on the format of FormikProps 馃槩


It could be found in the source code if someone is looking:
https://github.com/jaredpalmer/formik/blob/v2.0.0/src/types.tsx#L210-L215

In case anyone else (or me in the future) gets lost and ends up here, the props can be found here
https://jaredpalmer.com/formik/docs/api/formik#formik-render-methods-and-props

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jucesr picture Jucesr  路  3Comments

jaredpalmer picture jaredpalmer  路  3Comments

pmonty picture pmonty  路  3Comments

giulioambrogi picture giulioambrogi  路  3Comments

PeerHartmann picture PeerHartmann  路  3Comments