From b7b65ec3ee08bcc029db90dc558178f84a2bb217 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Fri, 26 Jul 2019 14:12:16 -0400 Subject: [PATCH] remove formik input inline prop --- src/components/formik-forms/formik-input.jsx | 7 ------- src/components/formik-forms/formik-radio-button.jsx | 1 - 2 files changed, 8 deletions(-) diff --git a/src/components/formik-forms/formik-input.jsx b/src/components/formik-forms/formik-input.jsx index 5b0b54f8f..8883e4cca 100644 --- a/src/components/formik-forms/formik-input.jsx +++ b/src/components/formik-forms/formik-input.jsx @@ -5,14 +5,12 @@ import {Field} from 'formik'; const ValidationMessage = require('../forms/validation-message.jsx'); -require('./forms.scss'); require('../forms/input.scss'); require('../forms/row.scss'); const FormikInput = ({ className, error, - inline, validationClassName, wrapperClassName, ...props @@ -45,14 +43,9 @@ const FormikInput = ({ FormikInput.propTypes = { className: PropTypes.string, error: PropTypes.string, - inline: PropTypes.bool, type: PropTypes.string, validationClassName: PropTypes.string, wrapperClassName: PropTypes.string }; -FormikInput.defaultProps = { - inline: false -}; - module.exports = FormikInput; diff --git a/src/components/formik-forms/formik-radio-button.jsx b/src/components/formik-forms/formik-radio-button.jsx index 69ca4af35..efba3ceda 100644 --- a/src/components/formik-forms/formik-radio-button.jsx +++ b/src/components/formik-forms/formik-radio-button.jsx @@ -80,7 +80,6 @@ const FormikRadioButton = ({ > {isOther && (