Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@pnthach95/react-native-root-view-background

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

@pnthach95/react-native-root-view-background

Set root view background color for Android and iOS

    1.0.4latest

Version published
Maintainers
1
Yearly downloads
4,913
increased by1673.65%

Weekly downloads

Changelog

Source

v1.0.4

Remove jcenter

Readme

Source

React Native Root View Background

Original: https://github.com/johniak/react-native-root-view-background

Remake to support React Native latest version.

Set background color of root view to fix white flash when using dark theme and navigating with React Navigation. Read more in example.

After

react-native-gifted-chat

Before

react-native-gifted-chat

Getting started

npm i @pnthach95/react-native-root-view-background --save

or

yarn add @pnthach95/react-native-root-view-background

Usage

import { setRootViewBackgroundColor } from '@pnthach95/react-native-root-view-background'; const Main = () => { useEffect(() => { setRootViewBackgroundColor('#ccc'); }, []); }

License

MIT

Keywords

FAQs

What is @pnthach95/react-native-root-view-background?

Set root view background color for Android and iOS

Is @pnthach95/react-native-root-view-background popular?

The npm package @pnthach95/react-native-root-view-background receives a total of 118 weekly downloads. As such, @pnthach95/react-native-root-view-background popularity was classified as not popular.

Is @pnthach95/react-native-root-view-background well maintained?

We found that @pnthach95/react-native-root-view-background demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 01 Sep 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc