diff --git a/src/components/Lightbox/Lightbox.web.tsx b/src/components/Lightbox/Lightbox.web.tsx index 0d140747c8..4f88412d9a 100644 --- a/src/components/Lightbox/Lightbox.web.tsx +++ b/src/components/Lightbox/Lightbox.web.tsx @@ -260,16 +260,15 @@ function LightboxGallery({ {({props}) => ( - + - + )} diff --git a/src/components/Lightbox/chrome/CircleChromeButton.tsx b/src/components/Lightbox/chrome/CircleChromeButton.tsx index 735a98ded2..afc30c5859 100644 --- a/src/components/Lightbox/chrome/CircleChromeButton.tsx +++ b/src/components/Lightbox/chrome/CircleChromeButton.tsx @@ -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 ( const SIZE = 44 const RADIUS = 24 @@ -29,9 +37,11 @@ export function CircleChromeButton({ label, onPress, testID, + ...rest }: Props) { return (