code: function provideReactor(Component, additionalContextTypes) {
    console.warn('`provideReactor` is deprecated, use `<Provider reactor={reactor} />` instead');
    // support decorator pattern
    if (arguments.length === 0 || typeof arguments[0] !== 'function') {
      additionalContextTypes = arguments[0];
      return function connectToReactorDecorator(ComponentToDecorate) {
        return createComponent(ComponentToDecorate, additionalContextTypes);
      };
    }
  
    return createComponent.apply(null, arguments);
  }
docs: Provides reactor prop to all children as React context
  
  Example:
  var WrappedComponent = provideReactor(Component, {
  foo: React.PropTypes.string
  });
  
  Also supports the decorator pattern:
  @provideReactor({
  foo: React.PropTypes.string
  })
  class BaseComponent extends React.Component {
  render() {
  return <div/>;
  }
  }
  
  @method provideReactor
  @param {React.Component} [Component] component to wrap
  @param {object} additionalContextTypes Additional contextTypes to add
  @returns {React.Component|Function} returns function if using decorator pattern