content: import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  import ReactHtmlParser from 'react-html-parser';
  
  
  class InputRenderComponent extends Component {
    constructor(props) {
      super(props);
      this.input = this.input.bind(this);
    }
  
    input() {
      const {
        input: { name, value, onChange, onBlur },
        type = 'text',
        readOnly = false,
        className = 'form-control',
        placeholder = '',
        tabindex
      } = this.props;
  
      return (<input
        name={name}
        value={value}
        type={type}
        placeholder={placeholder}
        className={`${className}`}
        onChange={onChange}
        onBlur={onBlur}
        readOnly={readOnly}
        tabIndex={tabindex}
      />);
    }
  
    render() {
      return (
        <div className="input-form" style={{width: "100%"}}>
          {this.input()}
        </div>
      );
    }
  }
  
  export default InputRenderComponent;
  