Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
else if (props.type === 'checkbox') {
props.value = option.value;
props.checked = formik.values[].includes(option.value);
props.onChange = e => {
const val = formik.values[];
? val.push(
: val.slice(val.indexOf(;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.