Commit Graph

16 Commits

Author SHA1 Message Date
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
Li Jie 23b9606bef Fix point type 2016-12-07 15:15:02 +08: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
Janic Duplessis 05c047d720 Add flow type annotation 2016-06-12 16:21:55 -04:00
Dmitry Gladkov 366239e441 Refactor LinearGradient as functional component 2016-06-06 18:02:10 +03: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
Dmitry Gladkov 0805153538 unify PropTypes across platforms 2016-01-27 15:38:15 +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 2027e9c820 Android Support 2015-09-30 22:42:51 -04:00