Merge pull request #66 from yianyue/master

Possible Fix for #62 & error with React-Native 0.22.0+
This commit is contained in:
Brent Vatne 2016-03-25 12:33:10 -07:00
commit 29521658d5
1 changed files with 1 additions and 1 deletions

View File

@ -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({