Skip to content

Commit

Permalink
Merge pull request #3992 from Expensify/Rory-DisabledButtonStyle
Browse files Browse the repository at this point in the history
Give disabled buttons the disabled cursor style
  • Loading branch information
deetergp authored Jul 15, 2021
2 parents 1a1d66a + db67656 commit 0ba1dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const Button = (props) => {
onPress={props.onPress}
disabled={props.isLoading || props.isDisabled}
style={[
props.isDisabled ? styles.cursorDisabled : {},
...additionalStyles,
]}
>
Expand Down

0 comments on commit 0ba1dff

Please sign in to comment.