Remove redundant style field from ScrollView propTypes.
Summary: We're spreading this in via `...ViewPropTypes` also. Having both confuses flow when you try to pass style (even though they're identical), when the types are defined via `React.ElementProps` Reviewed By: jingc Differential Revision: D6028659 fbshipit-source-id: 203e29682d34f1648a47d9ddbaef0c9630fbcb99
This commit is contained in:
parent
4d77c74c76
commit
0ec04ed8ef
|
@ -331,7 +331,6 @@ const ScrollView = createReactClass({
|
|||
* with `horizontal={true}`.
|
||||
*/
|
||||
stickyHeaderIndices: PropTypes.arrayOf(PropTypes.number),
|
||||
style: StyleSheetPropType(ViewStylePropTypes),
|
||||
/**
|
||||
* When set, causes the scroll view to stop at multiples of the value of
|
||||
* `snapToInterval`. This can be used for paginating through children
|
||||
|
|
Loading…
Reference in New Issue