Skip to content

Commit 13fe3b5

Browse files
committed
fix(button): hitslop passed to touchable
1 parent 00b00d2 commit 13fe3b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Button/Button.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ const Button = (
181181
accessibilityLabel,
182182
accessibilityHint,
183183
accessibilityRole = 'button',
184+
hitSlop,
184185
onPress,
185186
onPressIn,
186187
onPressOut,
@@ -354,6 +355,7 @@ const Button = (
354355
accessibilityRole={accessibilityRole}
355356
accessibilityState={{ disabled }}
356357
accessible={accessible}
358+
hitSlop={hitSlop}
357359
disabled={disabled}
358360
rippleColor={rippleColor}
359361
style={touchableStyle}

0 commit comments

Comments
 (0)