diff --git a/src/components/formik-forms/formik-checkbox.jsx b/src/components/formik-forms/formik-checkbox.jsx index c9ff7e471..804c4b855 100644 --- a/src/components/formik-forms/formik-checkbox.jsx +++ b/src/components/formik-forms/formik-checkbox.jsx @@ -8,19 +8,16 @@ require('./formik-forms.scss'); require('../forms/row.scss'); const FormikCheckboxSubComponent = ({ - className, field, id, label, + labelClassName, ...props }) => (
@@ -44,7 +42,6 @@ const FormikCheckboxSubComponent = ({ ); FormikCheckboxSubComponent.propTypes = { - className: PropTypes.string, field: PropTypes.shape({ name: PropTypes.string, onBlur: PropTypes.function, @@ -52,31 +49,32 @@ FormikCheckboxSubComponent.propTypes = { value: PropTypes.bool }), id: PropTypes.string, - label: PropTypes.string + label: PropTypes.string, + labelClassName: PropTypes.string }; const FormikCheckbox = ({ - className, id, label, + labelClassName, name, ...props }) => ( ); FormikCheckbox.propTypes = { - className: PropTypes.string, id: PropTypes.string, label: PropTypes.string, + labelClassName: PropTypes.string, name: PropTypes.string };