| 1 | import type { ReactElement } from "react"; |
| 2 | import { View, type ViewProps } from "react-native"; |
| 3 | |
| 4 | export 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. */ |
| 11 | export function PresentationSource({ identifier: _identifier, ...props }: PresentationSourceProps) { |
| 12 | return <View {...props} />; |
| 13 | } |