Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051/** * Copyright (c) JOB TODAY S.A. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */
import {type Component} from 'react'import {type TransformsStyle} from 'react-native'import { type AnimatedRef, type MeasuredDimensions,} from 'react-native-reanimated'
export type Dimensions = { width: number height: number}
export type Position = { x: number y: number}
export type ImageSource = { uri: string dimensions: Dimensions | null thumbUri: string thumbDimensions: Dimensions | null thumbRect: MeasuredDimensions | null thumbRef?: AnimatedRef<Component> | null thumbBorderRadius?: number alt?: string type: 'image' | 'circle-avi' | 'rect-avi'}
export type Transform = Exclude< TransformsStyle['transform'], string | undefined>
export type LightboxTransforms = { scaleAndMoveTransform: Transform cropFrameTransform: Transform cropContentTransform: Transform borderRadius: number isResting: boolean isHidden: boolean}