2.6.0 • Published 3 years ago

react-native-status-bar-height v2.6.0

Weekly downloads
85,781
License
MIT
Repository
github
Last release
3 years ago

react-native-status-bar-height

Small library that helps you to get status bar height

P.S :iphone:X supported :heart:

Install

$ npm install --save react-native-status-bar-height
# OR
$ yarn add react-native-status-bar-height

Usage getStatusBarHeight(skipAndroid: boolean = false)

import { getStatusBarHeight } from 'react-native-status-bar-height';

// 44 - on iPhoneX
// 20 - on iOS device
// X - on Android platfrom (runtime value)
// 0 - on all other platforms (default)
console.log(getStatusBarHeight());

// will be 0 on Android, because You pass true to skipAndroid
console.log(getStatusBarHeight(true));

License

This project is open-sourced software licensed under the MIT License.

See the LICENSE file for more information.

@applicaster/zapp-react-native-ui-componentsreact-native-bre-awesome-component@nvphuong92/react-native-elementsreact-native-template-webview-sportipiktor-profile-trial-v3profile-piktorprofile-piktor-v3cultgearreact-native-holper-storybook@joebochill/test-authmyhyundai-ui-components-types@infinitebrahmanuniverse/nolb-react-native-st@everything-registry/sub-chunk-2593wonderpool-app-driverwonderpool-app-ridertotvs-react-native-frameworkzigvy-expo-templatezippi-market-core@react-cross/navigation@pixibo/fyf-react-native@praella/klarify-utils@pxblue/react-native-auth-workflowexpo-solana-wallet@types/react-native-status-bar-height@smart-construction-vn/mobile-component@rnlab/react-native-elements@secondcloset/mobile-components@syahiidkamil/react-native-header-zoom-scroll@vivintsolar/universal-components@rn-components-kit/tooltip@servesall/atomsgc-ui-storybook-mobile-app@zalastax/nolb-react-native-st@wepin/react-native-sdkexpress-wyre-react-nativedbd-ui-componentsmuc-testmy-rn-header-bar@deepnothing/rn-sliding-view@deboxsoft/react-native-elements@evibe/react-native-chatawesome-toastsmoor-react-native-componentsdiscipulus@brightlayer-ui/react-native-auth-workflow@bumbag-native/toasthaux-app-ui-kit@cecil_gymlib/screen_componentsck-ewelink-sdkiocentro-smeg-uicm-design-system@holper/react-native-holper-storybooknv-react-native@hoangnguyen1247/react-native-elements@gopato/duck-system-form@gopato/duck-system-modalrn-sliding-view@husam287/expo-template@husam287/expo-template-ts@hycomponents-native/themesecullum-react-native-uirn-circle-quick-actionsrn-hglrn-currency-pickerrn-components-kitrn-components-uiphudao-componentsslap-react-native-icon-buttonpiktor-profile@killerui/components@killerui/native@kiwicom/universal-components@logisticinfotech/react-native-animated-alert@miidx/rn-simple-date-time-picker@miidx/rn-simple-picker@mindinventory/rn-top-navbarreact-native-colibrireact-native-elements-trung-jinreact-native-elements-wxreact-native-country-picker-modulereact-native-cryptos-pickerreact-native-currency-pickerreact-native-currency-picker-floranowreact-native-dev-kitreact-native-adaptation@minimalui/corereact-native-akameet-sdkreact-native-fast-uireact-native-general-statusbarreact-native-focused-scrollreact-native-layout-constantsreact-native-header-screenreact-native-header-zoom-scrollreact-native-in-app-popup-notificationreact-native-nascam-elementsreact-native-nationality-country-calling-code-picker@msantang78/react-native-styled-toastreact-native-seedreact-native-region-country-pickerreact-native-pairs-swipeable-cards
2.6.0

3 years ago

2.5.0

4 years ago

3.0.0-alpha.1

4 years ago

2.4.0

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.1

7 years ago