Files
Fluxup_PAP/node_modules/expo-router/build/link/zoom/zoom-transition-context.d.ts
2026-03-10 16:18:05 +00:00

40 lines
1.4 KiB
TypeScript

export type ZoomTransitionSourceContextValueType = {
identifier: string;
hasZoomSource: boolean;
addSource: () => void;
removeSource: () => void;
} | undefined;
export declare const ZoomTransitionSourceContext: import("react").Context<ZoomTransitionSourceContextValueType>;
/**
* Defines the screen bounds where interactive dismissal gestures are allowed for zoom transitions.
*
* @platform ios
*/
export interface DismissalBoundsRect {
/**
* Minimum X coordinate (left edge) where dismissal gestures are allowed.
*/
minX?: number;
/**
* Maximum X coordinate (right edge) where dismissal gestures are allowed.
*/
maxX?: number;
/**
* Minimum Y coordinate (top edge) where dismissal gestures are allowed.
*/
minY?: number;
/**
* Maximum Y coordinate (bottom edge) where dismissal gestures are allowed.
*/
maxY?: number;
}
export interface ZoomTransitionTargetContextValueType {
identifier: string | null;
dismissalBoundsRect: DismissalBoundsRect | undefined | null;
setDismissalBoundsRect: (rect: DismissalBoundsRect | null) => void;
addEnabler: () => void;
removeEnabler: () => void;
hasEnabler: boolean;
}
export declare const ZoomTransitionTargetContext: import("react").Context<ZoomTransitionTargetContextValueType>;
//# sourceMappingURL=zoom-transition-context.d.ts.map