We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8dcfbc commit 5e24aa6Copy full SHA for 5e24aa6
Libraries/CustomComponents/Navigator/Navigator.js
@@ -1089,7 +1089,7 @@ var Navigator = React.createClass({
1089
return React.cloneElement(this.props.navigationBar, {
1090
ref: (navBar) => {
1091
var navigationBar = this.props.navigationBar;
1092
- if (navigationBar && navigationBar.ref instanceof Function) {
+ if (navigationBar && typeof navigationBar.ref === "function") {
1093
navigationBar.ref(navBar);
1094
}
1095
this._navBar = navBar;
0 commit comments