Skip to content

Commit d0c5af4

Browse files
authored
Merge pull request #2 from haxe-react/cleanup-react-warning
Update Navigation.hx
2 parents 182041e + 8dd4e3d commit d0c5af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react/native/navigation/Navigation.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ typedef LayoutHierarchy = {
66

77
@:jsRequire("react-native-navigation","Navigation")
88
extern class Navigation {
9-
static public var Element : react.React.CreateElementType;
9+
static public var Element : react.ReactType;
1010
#if ios
11-
static public var TouchablePreview : react.React.CreateElementType;
11+
static public var TouchablePreview : react.ReactType;
1212
#end
1313
// top level
1414
static public function registerComponent(id : String, cb : Void -> Dynamic) : Void;

0 commit comments

Comments
 (0)