What's the equivalent of this.props.formik on a function component?

Viewed 62

I have a class component on which I can get formik values as the following:

    const { values } = this.props.formik;

How can I do the same in a function component since I don't have access to this.props.formik?

0 Answers
Related