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 { StyleSheet, type ViewProps } from "react-native"; |
| 3 | |
| 4 | import type { FrostedCutoutProps } from "./FrostedCutout.types"; |
| 5 | |
| 6 | const NativeFrostedCutout = requireNativeView<ViewProps & FrostedCutoutProps>( |
| 7 | "T3NativeControls", |
| 8 | "FrostedCutout", |
| 9 | ); |
| 10 | |
| 11 | export function FrostedCutout(props: FrostedCutoutProps) { |
| 12 | return <NativeFrostedCutout {...props} pointerEvents="none" style={StyleSheet.absoluteFill} />; |
| 13 | } |