This module alows you to set the root backgound color of your react-native app from JS.
Supports only Android at the moment.
$ npm install --save react-native-background-color
$ yarn add react-native-background-color
$ react-native link
import React, { Component } from 'react';
import BackgroundColor from 'react-native-background-color';
export default class Row extends Component {
componentWillMount() {
BackgroundColor.setColor('#FFFFFF');
}
render() {
return (
<View></View>
);
}
}