expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
25 lines (24 loc) • 914 B
TypeScript
import { type ReactNode } from 'react';
/**
* Defines the target for an Apple zoom transition.
*
* @example
* ```tsx
* import { Link } from 'expo-router';
*
* export default function Screen() {
* return (
* <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
* <Link.AppleZoomTarget>
* <Image source={require('../assets/image.png')} style={{ width: 200, height: 200 }} />
* </Link.AppleZoomTarget>
* </View>
* );
* }
* ```
*
* @platform ios 18+
*/
export declare function LinkAppleZoomTarget({ children }: {
children?: ReactNode;
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;