index.js
function HTMLReactParser(html, options) {
  if (typeof html !== 'string') {
    throw new TypeError('First argument must be a string');
  }
  return domToReact(htmlToDOM(html, domParserOptions), options);
}
function HTMLReactParser(html, options) {
  if (typeof html !== 'string') {
    throw new TypeError('First argument must be a string');
  }
  return domToReact(htmlToDOM(html, domParserOptions), options);
}
function HTMLReactParser ( html , options ) { if ( typeof html !== 'string' ) { throw new TypeError ( 'First argument must be a string' ) ; } return domToReact ( htmlToDOM ( html , domParserOptions ) , options ) ; }
Convert HTML string to React elements.

@param  {String}   html              - The HTML string.
@param  {Object}   [options]         - The additional options.
@param  {Function} [options.replace] - The replace method.
@return {ReactElement|Array}
Convert HTML string to React elements .