Open History to see the last commit
1import { requireNativeView } from "expo";
2import type { ViewProps } from "react-native";
3
4const NativeSheetSize = requireNativeView<ViewProps & { contentHeight: number }>(
5 "T3NativeControls",
6 "ContextSheetSize",
7);
8
9export function ContextSheetSize({ height }: { height: number }) {
10 return (
11 <NativeSheetSize
12 contentHeight={height}
13 pointerEvents="none"
14 style={{ position: "absolute", width: 0, height: 0 }}
15 />
16 );
17}