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:
Peter Ruibal 2017-10-11 14:08:38 -07:00 committed by Facebook Github Bot
parent 4d77c74c76
commit 0ec04ed8ef
1 changed files with 0 additions and 1 deletions

View File

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