Merge pull request #400 from iRoachie/prop-types

[Quick fix] Missed 4 instances of React.PropTypes
This commit is contained in:
Horcrux
2017-07-21 14:50:54 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ export default class extends Shape {
};
static childContextTypes = {
isInAParentText: React.PropTypes.bool
isInAParentText: PropTypes.bool
};
getChildContext() {
@@ -31,7 +31,7 @@ export default class extends Shape {
getContextTypes() {
return {
isInAParentText: React.PropTypes.bool
isInAParentText: PropTypes.bool
};
};
+2 -2
View File
@@ -19,7 +19,7 @@ export default class extends Shape {
};
static childContextTypes = {
isInAParentText: React.PropTypes.bool
isInAParentText: PropTypes.bool
};
getChildContext() {
@@ -30,7 +30,7 @@ export default class extends Shape {
getContextTypes() {
return {
isInAParentText: React.PropTypes.bool
isInAParentText: PropTypes.bool
};
};