UNPKG

react-native-modern-elements

Version:

A modern, customizable UI component library for React Native

27 lines (26 loc) 824 B
import React from "react"; import { ViewStyle } from "react-native"; export interface BottomSheetProps { snapPoints?: (string | number)[]; openDuration?: number; closeDuration?: number; closeOnPressMask?: boolean; closeOnPressBack?: boolean; draggable?: boolean; dragOnContent?: boolean; onOpen?: (() => void) | null; onClose?: (() => void) | null; children?: React.ReactNode; mainContainer?: ViewStyle; wrapperColors?: ViewStyle; defaultOpen?: boolean; showIndicator?: boolean; statusBar?: boolean; } export interface BottomSheetHandle { open: () => void; close: () => void; snapToIndex: (index: number) => void; } declare const _default: React.NamedExoticComponent<BottomSheetProps & React.RefAttributes<BottomSheetHandle>>; export default _default;