How can I pass a value to Formik's component part in react native

33 Views Asked by At

I want to pass enabled or disabled value with true or false to Formik's component , but when I give like this

<Formik 
enableddisabled={true}
component={ContactForm} />;

its not receiving in ContactForm component, its showing undefined

how do I pass enabledisabled into ContactForm Component and get it in contact form component so I can use that there for further checking?

0

There are 0 best solutions below