import React from 'react'
import FormikControlString from './FormikControlTypes/FormikControlString'
import FormikControlText from './FormikControlTypes/FormikControlText';
import FormikControlPassword from './FormikControlTypes/FormikControlPassword'
import FormikControlCheckbox from './FormikControlTypes/FormikControlCheckbox'
import FormikControlCheckboxGroup from './FormikControlTypes/FormikControlCheckboxGroup';
import FormikControlRadioGroup from './FormikControlTypes/FormikControlRadioGroup';
import FormikControlUserConsent from './FormikControlTypes/FormikControlUserConsent'
export function FormikControl(props) {
const { control, ...rest } = props
switch (control) {
case 'string':
return
case 'password':
return
case 'text':
return
// case 'select':
// return
case 'radio-group':
return
case 'checkbox':
return
case 'checkbox-group':
return
case 'userconsent':
return
default:
return null
}
}
export default FormikControl