szn-ui-react-native-bottom-sheet
Version:
A customizable React Native bottom sheet component with gesture support, keyboard awareness, and smooth animations.
18 lines • 469 B
TypeScript
import { ReactNode } from 'react';
import { ViewStyle } from 'react-native';
export interface BottomSheetProps {
isVisible: boolean;
onClose: () => void;
children: ReactNode;
height?: number;
showDragHandle?: boolean;
containerStyle?: ViewStyle;
title?: string;
showHeader?: boolean;
cancelText?: string;
backgroundColor?: string;
}
export interface BottomSheetRef {
dismiss: () => void;
}
//# sourceMappingURL=types.d.ts.map