The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import { requireNativeView } from "expo"; |
| 2 | import type { ComponentType, ReactElement } from "react"; |
| 3 | import type { ViewProps } from "react-native"; |
| 4 | |
| 5 | export interface PresentationSourceProps extends ViewProps { |
| 6 | readonly children: ReactElement; |
| 7 | readonly identifier: string; |
| 8 | } |
| 9 | |
| 10 | const NativeSource: ComponentType<PresentationSourceProps> = requireNativeView( |
| 11 | "T3NativeControls", |
| 12 | "PresentationSource", |
| 13 | ); |
| 14 | |
| 15 | export function PresentationSource(props: PresentationSourceProps) { |
| 16 | return <NativeSource {...props} collapsableChildren={false} />; |
| 17 | } |