2.6.0 • Published 4 years ago

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

Weekly downloads
85,781
License
MIT
Repository
github
Last release
4 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.

react-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-rider@deepnothing/rn-sliding-view@praella/klarify-utils@react-cross/navigation@rnlab/react-native-elementszigvy-expo-templatetotvs-react-native-framework@bumbag-native/toast@cecil_gymlib/screen_components@deboxsoft/react-native-elementszippi-market-core@hoangnguyen1247/react-native-elements@hycomponents-native/theme@husam287/expo-template@husam287/expo-template-ts@gopato/duck-system-form@gopato/duck-system-modal@kiwicom/universal-components@logisticinfotech/react-native-animated-alert@msantang78/react-native-styled-toast@evibe/react-native-chat@mindinventory/rn-top-navbar@minimalui/core@miidx/rn-simple-date-time-picker@miidx/rn-simple-picker@holper/react-native-holper-storybook@killerui/components@killerui/native@pxblue/react-native-auth-workflow@raiden16f7/react-native-currency-picker@rn-components-kit/tooltip@pixibo/fyf-react-native@smart-construction-vn/mobile-component@servesall/atoms@secondcloset/mobile-componentsmuc-testmy-rn-header-barmoor-react-native-componentsnv-react-nativereact-native-colibrireact-native-cryptos-pickerreact-native-currency-pickerreact-native-currency-picker-floranowreact-native-country-picker-modulesecullum-react-native-uireact-native-focused-scrollreact-native-fast-uireact-native-header-screenreact-native-header-zoom-scrollreact-native-general-statusbarreact-native-nascam-elementsreact-native-nationality-country-calling-code-pickerrn-hglrn-circle-quick-actionsrn-sliding-viewreact-native-adaptationreact-native-akameet-sdkreact-native-in-app-popup-notificationreact-native-layout-constantsreact-native-pairs-swipeable-cardsreact-native-pastino-uireact-native-dev-kitreact-native-elements-trung-jinreact-native-elements-wxreact-native-simple-banner-carouselreact-native-stack-flash-messagereact-native-styled-toastreact-native-simple-sticky-headerreact-native-sortable-multilistreact-native-seedreact-native-smart-managersreact-native-tikitech-skin-aireact-native-template-lucianocarvalho-rn-fullreact-native-region-country-pickerreact-native-redux-kitphudao-componentspiktor-profilern-components-kitrn-components-uirn-currency-pickerreact-native-template-john-advancedreact-native-template-fdalpra-basicreact-native-weloopslap-react-native-icon-button@syahiidkamil/react-native-header-zoom-scrollhaux-app-ui-kitiocentro-smeg-ui
2.6.0

4 years ago

2.5.0

5 years ago

3.0.0-alpha.1

5 years ago

2.4.0

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

8 years ago