Files
DefinitelyTyped/react
Vincent Siao d76bfa3394 [React] Add SFC displayName and fix onlyChild type
- `StatelessComponent` is missing an optional `displayName` property
- `ReactChildren.only` always returns a `ReactElement`
- add tests for the above and `ReactTestUtils.renderIntoDocument`
2015-12-09 12:07:28 -08:00
..

React v0.14.2 Type Definitions

If you are using modules you should use react.d.ts, react-dom.d.ts and any of the react-addon-*.d.ts definition files.

If you are using the global React variable, you should use react-global.d.ts.