Skip to content

Commit

Permalink
Add a style to control the view that wraps the buttonComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
richarddlu committed Jul 18, 2017
1 parent a1e836c commit 2e58b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class PopoverTooltip extends React.Component {
delayLongPress={this.props.delayLongPress}
activeOpacity={1.0}
>
<Animated.View style={{opacity:this.state.opposite_opacity}}>
<Animated.View style={[{opacity:this.state.opposite_opacity}, this.props.componentContainerStyle]}>
{buttonComponent}
</Animated.View>
<Modal
Expand Down

0 comments on commit 2e58b8e

Please sign in to comment.