UNPKG

react-native-modern-elements

Version:

A modern, customizable UI component library for React Native

29 lines (28 loc) 950 B
import React from "react"; import { KeyboardAvoidingView, ViewStyle } from "react-native"; export interface BottomSheetProps { height?: number; openDuration?: number; closeDuration?: number; closeOnPressMask?: boolean; closeOnPressBack?: boolean; draggable?: boolean; dragOnContent?: boolean; useNativeDriver?: boolean; customStyles?: any; customModalProps?: object; customAvoidingViewProps?: object; onOpen?: (() => void) | null; onClose?: (() => void) | null; children?: React.ReactNode; mainContainer?: ViewStyle; wrapperColors?: KeyboardAvoidingView["props"]["style"]; StatusBarColors?: string; barStyle?: "default" | "dark-content" | "light-content"; } export interface BottomSheetHandle { open: () => void; close: () => void; } declare const _default: React.NamedExoticComponent<BottomSheetProps & React.RefAttributes<BottomSheetHandle>>; export default _default;