Merge pull request #66 from yianyue/master
Possible Fix for #62 & error with React-Native 0.22.0+
This commit is contained in:
commit
29521658d5
|
@ -1,5 +1,5 @@
|
|||
var React = require('react-native');
|
||||
var flattenStyle = require('flattenStyle');
|
||||
var flattenStyle = React.StyleSheet.flatten;
|
||||
var { requireNativeComponent, processColor, PropTypes, View } = React;
|
||||
|
||||
var LinearGradient = React.createClass({
|
||||
|
|
Loading…
Reference in New Issue