jmurzy / jmurzy/react-router-native

Override navigationCard styles

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
639
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Hi!
Thanks for this awesome library!

I have image on background in my app.
````
const style = {
image: {
flex: 1,
width: null,
height: null,
resizeMode: 'cover',
},
}

const Root = (props) => (

{props.children}

);

````
![image](https://cloud.githubusercontent.com/assets/1328473/20526288/79f68a88-b0d4-11e6-9a65-dea71fcd7872.png)

So, if I'm try to using ````, then i have gray background instead image. I found in ``styles.js``
````
navigationCard: {
...absoluteFillObject,
overflow: 'hidden',
},
````

Making this
````
navigationCard: {
...absoluteFillObject,
backgroundColor: 'transparent',
overflow: 'hidden',
},
````
solve my issue.

Is there a way to override those styles?

### Version

| Dependency | Version |
| ------------------- | ------------------- |
| react-router-native | 2.0.0-beta.0 |
| react-router | N/A |
| react-native | 0.37.0 |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.