Created
September 8, 2019 04:21
-
-
Save merictaze/47213cafeb5acf5eb87fed76b8cea60f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (props.type === 'radio') { | |
props.value = option.value; | |
props.checked = option.value === formik.values[props.name]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment