This is the code I have in my router.js file (taken from react-native-router-flux docs section):
import React, { Component } from 'react';
import { Router, Scene } from 'react-native-router-flux';
import PageOne from './PageOne';
import PageTwo from './PageTwo';
export default class App extends Component {
render() {
return (
)
}
}
How do I change the background color of the "header" (where "go back" arrow appears in the above image)?
I tried this way (adding sceneStyle={{ backgroundColor: 'red'}}):
but it seems to not be working.
FYI:
"react-native": "0.34.1",
"react-native-router-flux": "^3.35.0"