react-context-component
Version:
This is a React component that lets you add things in the context. Put simply, the [context feature](https://facebook.github.io/react/docs/context.html) basically lets you to pass some data through all nodes in the components tree.
17 lines (10 loc) • 450 B
JavaScript
;
exports.__esModule = true;
exports.withContext = undefined;
var _Context = require('./Context');
var _Context2 = _interopRequireDefault(_Context);
var _withContext2 = require('./withContext');
var _withContext3 = _interopRequireDefault(_withContext2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.withContext = _withContext3.default;
exports.default = _Context2.default;