Skip to content

Commit

Permalink
feat: created touchable styles obj
Browse files Browse the repository at this point in the history
  • Loading branch information
k-g-j committed Oct 24, 2024
1 parent 5ebfb3d commit 5946bfb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/components/UI/WalletAction/WalletAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ const WalletAction = ({
[disabled, colors, iconStyle],
);

const touchableStyles = [
styles.base,
containerStyle,
disabled && styles.disabled,
];

return (
<TouchableOpacity
style={[styles.base, containerStyle, disabled && styles.disabled]}
style={touchableStyles}
onPress={onPress}
testID={actionID}
disabled={disabled}
Expand Down

0 comments on commit 5946bfb

Please sign in to comment.