Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ContextSheetSize.ios.tsx

17 lines449 Bytes

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 );