Increase hitslop for notification dismiss button

Summary:
This diff increases the hit slop for the close button to dismiss the notifications.

Changelog: [Internal]

Differential Revision: D18438192

fbshipit-source-id: e671ec06c69f52f83c7dda87118ca1d2426e993b
This commit is contained in:
Rick Hanlon
2019-11-11 16:16:03 -08:00
committed by Facebook Github Bot
parent a9ffad446a
commit 390546f6ed
@@ -93,6 +93,12 @@ function DismissButton(props) {
default: LogBoxStyle.getTextColor(0.3),
pressed: LogBoxStyle.getTextColor(0.5),
}}
hitSlop={{
top: 12,
right: 10,
bottom: 12,
left: 10,
}}
onPress={props.onPress}
style={dismissStyles.press}>
<Image