UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

16 lines (14 loc) • 549 B
import type { ReactNode } from 'react'; import type { Insets, StyleProp, ViewStyle } 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; style?: StyleProp<ViewStyle>; children?: ReactNode; }