Skip to content

Commit

Permalink
Exposing ReactProps as React.Props
Browse files Browse the repository at this point in the history
Right now, even though ReactProps is committed, there is no way to use it as it is not exposed.
  • Loading branch information
vjeux committed Jun 13, 2013
1 parent c961858 commit 3417363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/React.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var ReactCompositeComponent = require('ReactCompositeComponent');
var ReactComponent = require('ReactComponent');
var ReactDOM = require('ReactDOM');
var ReactMount = require('ReactMount');
var ReactProps = require('ReactProps');
var ReactServerRendering = require('ReactServerRendering');

var ReactDefaultInjection = require('ReactDefaultInjection');
Expand All @@ -30,6 +31,7 @@ ReactDefaultInjection.inject();

var React = {
DOM: ReactDOM,
Props: ReactProps,
initializeTouchEvents: function(shouldUseTouch) {
ReactMount.useTouchEvents = shouldUseTouch;
},
Expand Down

0 comments on commit 3417363

Please sign in to comment.