diff options
Diffstat (limited to 'src/state/lightbox.tsx')
-rw-r--r-- | src/state/lightbox.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/lightbox.tsx b/src/state/lightbox.tsx index 0760d2c96..eb5a88864 100644 --- a/src/state/lightbox.tsx +++ b/src/state/lightbox.tsx @@ -1,4 +1,5 @@ import React from 'react' +import type {MeasuredDimensions} from 'react-native-reanimated' import {AppBskyActorDefs} from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' @@ -6,6 +7,7 @@ import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' type ProfileImageLightbox = { type: 'profile-image' profile: AppBskyActorDefs.ProfileViewDetailed + thumbDims: null } type ImagesLightboxItem = { @@ -17,6 +19,7 @@ type ImagesLightboxItem = { type ImagesLightbox = { type: 'images' images: ImagesLightboxItem[] + thumbDims: MeasuredDimensions | null index: number } |