Set backgroundColor to transparent by default

This commit is contained in:
Stephan Seidt 2015-12-16 23:18:49 +01:00
parent 4c764ac6a3
commit 3c0fd0d6ba
2 changed files with 18 additions and 2 deletions

View File

@ -6,7 +6,15 @@ const {
class BlurView extends Component {
render() {
return <NativeBlurView {...this.props} />;
return (
<NativeBlurView
{...this.props}
style={{
backgroundColor: 'transparent',
...this.props.style
}}
/>
);
}
}

View File

@ -6,7 +6,15 @@ const {
class VibrancyView extends Component {
render() {
return <NativeVibrancyView {...this.props} />;
return (
<NativeVibrancyView
{...this.props}
style={{
backgroundColor: 'transparent',
...this.props.style
}}
/>
);
}
}