Hey @gilbertlucas46 - Here was my solution for adding checkboxes (or any other form components like radio buttons, select dropdowns etc.)
Download formik-mui from npm
import the Switch component and insert it into a formik <Field/> component like this:
import { Field } from 'formik';
import { Switch } from 'formik-mui';
<FormControlLabel
control={
<Field
name="[your-form-field-name]"
component={Switch}
type="checkbox"
/>
}
label="Do you want to do this"/>
Hey @gilbertlucas46 - Here was my solution for adding checkboxes (or any other form components like radio buttons, select dropdowns etc.)
Switch
component and insert it into a formik<Field/>
component like this: