Skip to content

Commit

Permalink
revert(button): rest props (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 authored and paranoidjk committed Mar 19, 2018
1 parent d795d50 commit 75068bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/button/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ export default class Button extends React.Component<ButtonProps, any> {
<TouchableHighlight
style={wrapperStyle}
disabled={disabled}
{...restProps}
activeOpacity={1}
underlayColor={underlayColor}
onPress={(e?: any) => onClick && onClick(e)}
onPressIn={this.onPressIn}
onPressOut={this.onPressOut}
onShowUnderlay={this.onShowUnderlay}
onHideUnderlay={this.onHideUnderlay}
{...restProps}
>
<View style={_styles.container}>
{loading ? (
Expand Down

0 comments on commit 75068bd

Please sign in to comment.