Merge pull request #5197 from ngbrown/patch-5

React: Include required render() function in base React.Component class.
This commit is contained in:
Ryan Cavanaugh
2015-08-04 10:14:36 -07:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -136,6 +136,7 @@ declare module React {
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
setState(state: S, callback?: () => any): void;
forceUpdate(): void;
render(): JSX.Element;
props: P;
state: S;
context: any;
+1
View File
@@ -136,6 +136,7 @@ declare module __React {
setState(f: (prevState: S, props: P) => S, callback?: () => any): void;
setState(state: S, callback?: () => any): void;
forceUpdate(): void;
render(): JSX.Element;
props: P;
state: S;
context: any;