Sam Mueller
a77528523e
Rename start & end properties to fix conflict with RN 51
...
A recent commit in RN added start/end properties to RCTViewManager.
Because LinearGradient inherits from this class and has properties of
the same name, RN gets mixed up and tries to convert to a YGValue
instead of CGPoint, which results in the exception:
```
Error setting property 'start' of BVLinearGradient with tag #18 : JSON
value '{
x = 0;
y = 0;
}' of type NSMutableDictionary cannot be converted to a YGValue.
```
2017-12-14 12:09:56 -08:00
Gant Laborde
1c50f2b7ed
Merge branch 'master' into replace-react-PropTypes-with-prop-types
2017-07-05 08:45:16 -05:00
Timur Gibadullin
416b84a72b
Replace PropTypes from react with form prop-types package
2017-06-29 15:50:59 +03:00
m.parzinski
753fb41d2d
use new ViewPropTypes
2017-05-23 15:42:38 +02:00
Dmitry Gladkov
d8f7b431c9
Fix coordinates for Android, bump version to 1.6.2
2016-12-27 13:29:20 +02:00
Dmitry Gladkov
c90a2ae6ed
Android support for new point type
2016-12-26 19:53:48 +02:00
Connor McEwen
8c64dcab94
Add proper flow types
2016-11-08 15:05:34 -08:00
fei
890fd1877b
Implement setNativeProps in component to allow use as a child component in TouchableHighlight, etc.
2016-10-25 10:59:39 -07:00
Joel Arvidsson
3bdc43ce97
Refactors to class based ES2015 components.
2016-06-13 13:22:34 +02:00
Dmitry Gladkov
366239e441
Refactor LinearGradient as functional component
2016-06-06 18:02:10 +03:00
Dmitry Gladkov
b780d9df2e
Remove redundant style prop check
2016-06-06 18:02:05 +03:00
Martin Bielik
3b1de6174d
optional style property
2016-06-02 14:16:53 +02:00
Dmitry Gladkov
fe55ead175
Ensure that locations prop array has the same length as colors array
2016-05-25 12:57:04 +03:00
Dmitry Gladkov
6b4b1854e0
use es6 imports
2016-05-05 13:12:40 +03:00
James Gibbons
3d8f720a4b
Fixes for RN 0.24+
2016-04-21 23:39:52 -04:00
Andrei Alecu
5cbf3ab137
Fix per corner border radius on android.
2016-04-20 17:44:20 +03:00
Yi An Yue
54e890aac5
Possible Fix for #62 & error with React-Native 0.22.0+
...
With the new React-Native build (0.22.0+), this fixes the error:
`Requiring unknown module "flattenStyle"`
2016-03-16 14:47:14 -04:00
Martin Lundberg
fcb8deac05
Work on Android even if style is not passed in
...
Otherwise we get a "Cannot read property 'borderRadius' of undefined" since [flattenStyle() will return undefined](62e8ddc205/Libraries/StyleSheet/flattenStyle.js (L28)
) if style is undefined.
2016-02-22 09:53:09 +01:00
Dmitry Gladkov
0805153538
unify PropTypes across platforms
2016-01-27 15:38:15 +02:00
Dmitry Gladkov
7694263f78
use flattenStyle for style introspection
2016-01-27 15:16:29 +02:00
Dmitry Gladkov
bb0373783c
#47 fix borderRadius on Android
2016-01-19 19:31:20 +02:00
Brent Vatne
b185a90f81
Add Android example, update example to 0.16.0, fix 0.16.0 Android compat
2015-12-07 10:15:01 -08:00
Nick Hudkins
bf0319dbff
Brought android api into parity with iOS
2015-10-01 12:48:02 -04:00
Nick Hudkins
2027e9c820
Android Support
2015-09-30 22:42:51 -04:00