From 449a81264b3eea830ef57f6a1e7770840c0bb4b5 Mon Sep 17 00:00:00 2001 From: Joshua Pinter Date: Sat, 30 Apr 2016 20:39:53 -0700 Subject: [PATCH] Add keys to hash as you need them. Summary: Just showing a hash of values is misleading. Makes the user think you can just pass in the values without the keys. Closes https://github.com/facebook/react-native/pull/7310 Differential Revision: D3245834 fb-gh-sync-id: 39220ed7720e3ff402f2c2ba8bebdefb96bfa203 fbshipit-source-id: 39220ed7720e3ff402f2c2ba8bebdefb96bfa203 --- Libraries/Components/ScrollView/ScrollView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index f852d55aee3bc3..1224c73822e2c6 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -63,7 +63,7 @@ var ScrollView = React.createClass({ automaticallyAdjustContentInsets: PropTypes.bool, /** * The amount by which the scroll view content is inset from the edges - * of the scroll view. Defaults to `{0, 0, 0, 0}`. + * of the scroll view. Defaults to `{top: 0, left: 0, bottom: 0, right: 0}`. * @platform ios */ contentInset: EdgeInsetsPropType,