remove formik input inline prop

This commit is contained in:
Ben Wheeler 2019-07-26 14:12:16 -04:00
parent 09ff758eee
commit b7b65ec3ee
2 changed files with 0 additions and 8 deletions

View file

@ -5,14 +5,12 @@ import {Field} from 'formik';
const ValidationMessage = require('../forms/validation-message.jsx'); const ValidationMessage = require('../forms/validation-message.jsx');
require('./forms.scss');
require('../forms/input.scss'); require('../forms/input.scss');
require('../forms/row.scss'); require('../forms/row.scss');
const FormikInput = ({ const FormikInput = ({
className, className,
error, error,
inline,
validationClassName, validationClassName,
wrapperClassName, wrapperClassName,
...props ...props
@ -45,14 +43,9 @@ const FormikInput = ({
FormikInput.propTypes = { FormikInput.propTypes = {
className: PropTypes.string, className: PropTypes.string,
error: PropTypes.string, error: PropTypes.string,
inline: PropTypes.bool,
type: PropTypes.string, type: PropTypes.string,
validationClassName: PropTypes.string, validationClassName: PropTypes.string,
wrapperClassName: PropTypes.string wrapperClassName: PropTypes.string
}; };
FormikInput.defaultProps = {
inline: false
};
module.exports = FormikInput; module.exports = FormikInput;

View file

@ -80,7 +80,6 @@ const FormikRadioButton = ({
> >
{isOther && ( {isOther && (
<FormikInput <FormikInput
inline
className='formik-radio-input' className='formik-radio-input'
id="other" id="other"
name="other" name="other"