mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -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');
|
||||
|
||||
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;
|
||||
|
|
|
@ -80,7 +80,6 @@ const FormikRadioButton = ({
|
|||
>
|
||||
{isOther && (
|
||||
<FormikInput
|
||||
inline
|
||||
className='formik-radio-input'
|
||||
id="other"
|
||||
name="other"
|
||||
|
|
Loading…
Reference in a new issue