diff --git a/Examples/UIExplorer/js/StatusBarExample.js b/Examples/UIExplorer/js/StatusBarExample.js index e1f90c192..8c60b22ba 100644 --- a/Examples/UIExplorer/js/StatusBarExample.js +++ b/Examples/UIExplorer/js/StatusBarExample.js @@ -438,7 +438,7 @@ const examples = [{ render() { return ( - Height: {StatusBar.currentHeight} pts + Height (Android only): {StatusBar.currentHeight} pts ); }, diff --git a/Libraries/Components/StatusBar/StatusBar.js b/Libraries/Components/StatusBar/StatusBar.js index 63a3ca47f..f1712b4a5 100644 --- a/Libraries/Components/StatusBar/StatusBar.js +++ b/Libraries/Components/StatusBar/StatusBar.js @@ -131,6 +131,10 @@ function createStackEntry(props: any): any { * to use the static API and the component for the same prop because any value * set by the static API will get overriden by the one set by the component in * the next render. + * + * ### Constants + * + * `currentHeight` (Android only) The height of the status bar. */ class StatusBar extends React.Component { props: {