1import type { ReactElement } from "react";
2import { View, type ViewProps } from "react-native";
3
4export interface PresentationSourceProps extends ViewProps {
5 readonly children: ReactElement;
6 /** Stable across remounts so dismissal can find a recycled attachment thumbnail. */
7 readonly identifier: string;
8}
9
10/** Registers the view as an iOS zoom or share-sheet origin. */
11export function PresentationSource({ identifier: _identifier, ...props }: PresentationSourceProps) {
12 return <View {...props} />;
13}