Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit e43d114

Browse files
authored
Merge pull request #4 from leonardoanalista/pass-bar-style-to-bar-component
Pass barStyle prop to Bar component
2 parents 8b384a5 + 5978946 commit e43d114

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/actualComponents/Panel.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class SwipeablePanel extends Component {
184184
render() {
185185
const { showComponent } = this.state;
186186
const {
187+
barStyle,
187188
noBackgroundOpacity,
188189
style,
189190
closeRootStyle,
@@ -218,7 +219,7 @@ class SwipeablePanel extends Component {
218219
style,
219220
]}
220221
{...this.panResponder.panHandlers}>
221-
{!this.props.noBar && <Bar />}
222+
{!this.props.noBar && <Bar barStyle={barStyle}/>}
222223
{this.props.showCloseButton && (
223224
<Close
224225
rootStyle={closeRootStyle}

0 commit comments

Comments
 (0)