@ronas-it/react-formik-effect
v1.0.0
Published
React Formik Effect
Downloads
3
Keywords
Readme
react-formik-effect
React Formik Effect
Install
npm install --save @ronas-it/react-formik-effect
Usage
import React, { Component } from 'react'
import FormikEffect from '@ronas-it/react-formik-effect'
import 'react-formik-effect/dist/index.css'
class Example extends Component {
render() {
return <Formik
initialValues=...
onSubmit=...
validationSchema=...
> {
(props: FormikProps<FormikValues>): ReactElement =>
<form >
<FormikEffect onChange={() => ...}/>
</form>
}
</Formik>
}
}