var React = require("react");

module.exports = {
  propTypes: {
    flux: React.PropTypes.object
  },

  childContextTypes: {
    flux: React.PropTypes.object
  },

  contextTypes: {
    flux: React.PropTypes.object
  },

  getChildContext: function() {
    return {
      flux: this.context.flux || this.props.flux
    };
  }
};

var React = require("react");

module.exports = {
  propTypes: {
    flux: React.PropTypes.object.isRequired
  },

  childContextTypes: {
    flux: React.PropTypes.object
  },

  getChildContext: function() {
    return {
      flux: this.props.flux
    };
  }
};

Make Fluxbox.Mixin only for the top-level components
Make Fluxbox.Mixin only for the top-level components
