Skip to content

Commit

Permalink
fix: allow overwrite activeOpacity close #133
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 committed Dec 12, 2018
1 parent 8ae663c commit 646ff7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ export default class Button extends React.Component<ButtonProps, any> {

return (
<TouchableHighlight
activeOpacity={0.4}
{...restProps}
style={wrapperStyle}
disabled={disabled}
activeOpacity={1}
underlayColor={underlayColor}
onPress={(e?: any) => onPress && onPress(e)}
onPressIn={this.onPressIn}
Expand Down

0 comments on commit 646ff7c

Please sign in to comment.