mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Removed unnecessary exportedConstants
Summary: The exportedConstants method incurrs a penalty at bridge startup time for every module that implements it. This diff removes exportedConstants from a few modules that don't really need to use it. Reviewed By: majak Differential Revision: D2982341 fb-gh-sync-id: be016187d7b731a073311daacfcf88a0402e1688 shipit-source-id: be016187d7b731a073311daacfcf88a0402e1688
This commit is contained in:
committed by
Facebook Github Bot 5
parent
d71c05164c
commit
520ad05ba0
@@ -134,8 +134,8 @@ var ScrollView = React.createClass({
|
||||
* shortcuts `"normal"` and `"fast"` which match the underlying iOS settings
|
||||
* for `UIScrollViewDecelerationRateNormal` and
|
||||
* `UIScrollViewDecelerationRateFast` respectively.
|
||||
* - Normal: 0.998 (the default)
|
||||
* - Fast: 0.9
|
||||
* - normal: 0.998 (the default)
|
||||
* - fast: 0.99
|
||||
* @platform ios
|
||||
*/
|
||||
decelerationRate: PropTypes.oneOfType([
|
||||
|
||||
Reference in New Issue
Block a user