From cb67d16aee38fcaefbce0bdd3d004efee2726ff9 Mon Sep 17 00:00:00 2001 From: Phillip Johnsen Date: Fri, 4 Nov 2016 09:42:04 -0700 Subject: [PATCH] StatusBar: fix incorrect setHidden(hidden) docs description Summary: Hi! Just noticed an incorrect description for the `hidden` argument for `StatusBar.setHidden()` on the website, this trivial change fixes that. FYI I followed the start procedure for the website mentioned in [CONTRIBUTING.md](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#pull-requests), and noticed one needs to run `npm install` in the project root directory as well before starting the website. Do you want me to add that instruction as part of this PR, or as a separate PR entirely? Closes https://github.com/facebook/react-native/pull/10735 Differential Revision: D4131223 fbshipit-source-id: b70c5ef12e72807445c51f13811537b9fa3b6b3e --- Libraries/Components/StatusBar/StatusBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/StatusBar/StatusBar.js b/Libraries/Components/StatusBar/StatusBar.js index 48c70921c44..63a3ca47f01 100644 --- a/Libraries/Components/StatusBar/StatusBar.js +++ b/Libraries/Components/StatusBar/StatusBar.js @@ -175,7 +175,7 @@ class StatusBar extends React.Component { /** * Show or hide the status bar - * @param hidden The dialog's title. + * @param hidden Hide the status bar. * @param animation Optional animation when * changing the status bar hidden property. */