function injectSheet(stylesOrSheet) {
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

  if (options.index === undefined) {
    options.index = indexCounter++;
  }
  return function () {
    var InnerComponent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : NoRenderer;

    var Jss = (0, _createHoc2['default'])(stylesOrSheet, InnerComponent, options);
    return (0, _hoistNonReactStatics2['default'])(Jss, InnerComponent, { inner: true });
  };
}
/**
 * HOC creator function that wrapps the user component.
 *
 * `injectSheet(styles, [options])(Component)`
 *
 * @api public
 */
HOC creator function that wrapps the user component.

@api public
HOC creator function that wrapps the user component . @api public
function injectSheet(stylesOrSheet) {
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  if (options.index === undefined) {
    options.index = indexCounter++;
  }
  return function () {
    var InnerComponent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : NoRenderer;
    var Jss = (0, _createHoc2['default'])(stylesOrSheet, InnerComponent, options);
    return (0, _hoistNonReactStatics2['default'])(Jss, InnerComponent, { inner: true });
  };
}
function injectSheet ( stylesOrSheet ) { var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ; if ( options . index === undefined ) { options . index = indexCounter ++ ; } return function ( ) { var InnerComponent = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : NoRenderer ; var Jss = ( 0 , _createHoc2 [ 'default' ] ) ( stylesOrSheet , InnerComponent , options ) ; return ( 0 , _hoistNonReactStatics2 [ 'default' ] ) ( Jss , InnerComponent , { inner : true } ) ; } ; }
HOC creator function that wrapps the user component.
HOC creator function that wrapps the user component .