Fix Image Options not opening on web (#10544)
This commit is contained in:
@@ -17,7 +17,15 @@ type Props = {
|
||||
label: string
|
||||
onPress?: PressableProps['onPress']
|
||||
testID?: string
|
||||
}
|
||||
} & Omit<
|
||||
PressableProps,
|
||||
| 'onPress'
|
||||
| 'style'
|
||||
| 'testID'
|
||||
| 'accessibilityRole'
|
||||
| 'accessibilityLabel'
|
||||
| 'accessibilityHint'
|
||||
>
|
||||
|
||||
const SIZE = 44
|
||||
const RADIUS = 24
|
||||
@@ -29,9 +37,11 @@ export function CircleChromeButton({
|
||||
label,
|
||||
onPress,
|
||||
testID,
|
||||
...rest
|
||||
}: Props) {
|
||||
return (
|
||||
<Pressable
|
||||
{...rest}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={label}
|
||||
accessibilityHint=""
|
||||
|
||||
@@ -17,7 +17,15 @@ type Props = {
|
||||
label: string
|
||||
onPress?: PressableProps['onPress']
|
||||
testID?: string
|
||||
}
|
||||
} & Omit<
|
||||
PressableProps,
|
||||
| 'onPress'
|
||||
| 'style'
|
||||
| 'testID'
|
||||
| 'accessibilityRole'
|
||||
| 'accessibilityLabel'
|
||||
| 'accessibilityHint'
|
||||
>
|
||||
|
||||
const SIZE = 44
|
||||
const RADIUS = 24
|
||||
@@ -29,9 +37,11 @@ export function CircleChromeButton({
|
||||
label,
|
||||
onPress,
|
||||
testID,
|
||||
...rest
|
||||
}: Props) {
|
||||
return (
|
||||
<Pressable
|
||||
{...rest}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={label}
|
||||
accessibilityHint=""
|
||||
|
||||
Reference in New Issue
Block a user