Skip to content

Commit cb67d16

Browse files
phillipjFacebook Github Bot
authored andcommitted
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 facebook#10735 Differential Revision: D4131223 fbshipit-source-id: b70c5ef12e72807445c51f13811537b9fa3b6b3e
1 parent b67c0c9 commit cb67d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/StatusBar/StatusBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class StatusBar extends React.Component {
175175

176176
/**
177177
* Show or hide the status bar
178-
* @param hidden The dialog's title.
178+
* @param hidden Hide the status bar.
179179
* @param animation Optional animation when
180180
* changing the status bar hidden property.
181181
*/

0 commit comments

Comments
 (0)