export default ({type, name, placeholder, value = '', error, onInput, required, disabled = false, className, children, icon}) => (
onInput(e, name) } required={ required } disabled={ disabled } className={[ (value ? 'gm-input-filled' : ''), (error ? 'gm-error' : '') ].join(' ')} /> { icon } { children }
);