Added default disabled state of false to FormInput

no-issue
This commit is contained in:
Fabien O'Carroll 2019-04-17 10:05:16 +02:00
parent 9a842cab7c
commit 9692a0f066

View File

@ -1,4 +1,4 @@
export default ({type, name, placeholder, value = '', error, onInput, required, disabled, className, children, icon}) => (
export default ({type, name, placeholder, value = '', error, onInput, required, disabled = false, className, children, icon}) => (
<div className="gm-form-element">
<div className={[
(className ? className : ""),