mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-28 05:41:58 -04:00
formik input accepts classname from radio option other
This commit is contained in:
parent
26ab2b1366
commit
cf42b8b3a1
1 changed files with 10 additions and 1 deletions
|
@ -12,9 +12,17 @@ const FormikInput = ({
|
|||
className,
|
||||
error,
|
||||
validationClassName,
|
||||
wrapperClassName,
|
||||
...props
|
||||
}) => (
|
||||
<div className="col-sm-9 row row-with-tooltip">
|
||||
<div
|
||||
className={classNames(
|
||||
'col-sm-9',
|
||||
'row',
|
||||
'row-with-tooltip',
|
||||
wrapperClassName
|
||||
)}
|
||||
>
|
||||
<Field
|
||||
className={classNames(
|
||||
'input',
|
||||
|
@ -37,6 +45,7 @@ FormikInput.propTypes = {
|
|||
error: PropTypes.string,
|
||||
type: PropTypes.string,
|
||||
validationClassName: PropTypes.string
|
||||
wrapperClassName: PropTypes.string
|
||||
};
|
||||
|
||||
module.exports = FormikInput;
|
||||
|
|
Loading…
Add table
Reference in a new issue