Skip to content

Commit

Permalink
Merge pull request #27627 from suneox/fix/25687-hightlight-button-whe…
Browse files Browse the repository at this point in the history
…n-hovering

fix hightlight button when hovering
  • Loading branch information
Joel Bettner authored Sep 25, 2023
2 parents 653926d + 539700a commit d0d16fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const defaultProps = {
style: [],
innerStyles: [],
textStyles: [],
shouldUseDefaultHover: false,
shouldUseDefaultHover: true,
success: false,
danger: false,
children: null,
Expand Down
2 changes: 0 additions & 2 deletions src/components/ConfirmContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ function ConfirmContent(props) {
style={[styles.mt3, styles.noSelect]}
onPress={props.onCancel}
text={props.cancelText || translate('common.no')}
shouldUseDefaultHover
/>
)}
</>
Expand All @@ -144,7 +143,6 @@ function ConfirmContent(props) {
style={[styles.noSelect, styles.flex1]}
onPress={props.onCancel}
text={props.cancelText || translate('common.no')}
shouldUseDefaultHover
medium
/>
)}
Expand Down

0 comments on commit d0d16fb

Please sign in to comment.