1.1.1 • Published 6 years ago

@superhawk610/react-native-android-statusbar v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@superhawk610/react-native-android-statusbar

A React Native Android module to control the Android statusbar, forked from NishanthShankar/react-native-android-statusbar.

Installation

npm i -D @superhawk610/react-native-android-statusbar
react-native link @superhawk610/react-native-android-statusbar

Usage

import StatusBarAndroid from 'react-native-android-statusbar'

/* API >= 16 */
StatusBarAndroid.hideStatusBar()
StatusBarAndroid.showStatusBar()

/* API >= 21 */
StatusBarAndroid.setRGB(int red, int green, int blue);
StatusBarAndroid.setARGB(int alpha,int red, int green, int blue);
StatusBarAndroid.setHexColor('#AB1223'); /*Supported formats are: #RRGGBB #AARRGGBB or :
'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow',
'lightgray', 'darkgray', 'grey', 'lightgrey', 'darkgrey', 'aqua',
'fuchsia', 'lime', 'maroon', 'navy', 'olive', 'purple', 'silver', 'teal'.*/
1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago