mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-28 04:55:12 +00:00
Merge pull request #400 from iRoachie/prop-types
[Quick fix] Missed 4 instances of React.PropTypes
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user