1import { requireNativeView } from "expo";
2import type { ComponentType, ReactElement } from "react";
3import type { ViewProps } from "react-native";
4
5export interface PresentationSourceProps extends ViewProps {
6 readonly children: ReactElement;
7 readonly identifier: string;
8}
9
10const NativeSource: ComponentType<PresentationSourceProps> = requireNativeView(
11 "T3NativeControls",
12 "PresentationSource",
13);
14
15export function PresentationSource(props: PresentationSourceProps) {
16 return <NativeSource {...props} collapsableChildren={false} />;
17}