react-native-elements
Version:
React Native Elements & UI Toolkit
22 lines (21 loc) • 945 B
TypeScript
import React from 'react';
import { ModalProps, ViewStyle, StyleProp } from 'react-native';
export declare type OverlayProps = ModalProps & {
isVisible: boolean;
backdropStyle?: StyleProp<ViewStyle>;
overlayStyle?: StyleProp<ViewStyle>;
onBackdropPress?(): void;
fullScreen?: boolean;
ModalComponent?: React.ComponentClass;
};
declare const Overlay: React.FunctionComponent<OverlayProps>;
export { Overlay };
declare const _default: React.FunctionComponent<Omit<import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & import("react-native").ViewProps & {
isVisible: boolean;
backdropStyle?: StyleProp<ViewStyle>;
overlayStyle?: StyleProp<ViewStyle>;
onBackdropPress?(): void;
fullScreen?: boolean;
ModalComponent?: React.ComponentClass<{}, any>;
}, keyof import("../config/ThemeProvider").ThemeProps<T>>>;
export default _default;