rn-viewpager
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "rn-viewpager", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "ViewPager component for react-native, same api on both android and ios.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,2 @@ /** | ||
import React, {Component, StyleSheet, View, ViewPagerAndroid, ScrollView, Platform} from 'react-native'; | ||
import ReactElement from 'ReactElement'; | ||
@@ -112,3 +111,3 @@ const SCROLLVIEW_REF = 'scrollView'; | ||
} | ||
return ReactElement.createElement(child.type, newProps); | ||
return React.createElement(child.type, newProps); | ||
}); | ||
@@ -115,0 +114,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39294
338