mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
remove formik input inline prop
This commit is contained in:
parent
09ff758eee
commit
b7b65ec3ee
2 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue