UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

15 lines (13 loc) • 494 B
import type { ReactNode } from 'react'; import type { Insets } from 'react-native'; import type Animated from 'react-native-reanimated'; import type { BottomSheetProps } from '../bottomSheet/types'; export interface BottomSheetContainerProps extends Partial< Pick<BottomSheetProps, 'topInset' | 'bottomInset' | 'detached'> > { containerHeight: Animated.SharedValue<number>; containerOffset: Animated.SharedValue<Insets>; shouldCalculateHeight?: boolean; children: ReactNode; }