score:0

Accepted answer
const Input = ({
  onChange = () => {},
  invalid,
  type = 'text',
  placeholder = '',
  className,
  value,
  ...rest
}) =>
  <input
    onChange={onChange}
    type={type}
    placeholder={placeholder}
    autoComplete="off"
    value={value}
    {...rest}
  />;

Input.displayName = 'Input';

Input.propTypes = {
    onChange: PropTypes.func.isRequired,
    value: PropTypes.string.isRequired
}

score:2

value = { value }    //value = undefined

Related Query

More Query from same tag