1 | import React from 'react';
|
2 | import { ModalProps, ViewStyle, StyleProp } from 'react-native';
|
3 | import { RneFunctionComponent } from '../helpers';
|
4 | export declare type OverlayProps = ModalProps & {
|
5 | isVisible: boolean;
|
6 | backdropStyle?: StyleProp<ViewStyle>;
|
7 | overlayStyle?: StyleProp<ViewStyle>;
|
8 | onBackdropPress?(): void;
|
9 | fullScreen?: boolean;
|
10 | ModalComponent?: typeof React.Component;
|
11 | };
|
12 | declare const Overlay: RneFunctionComponent<OverlayProps>;
|
13 | export { Overlay };
|
14 | declare const _default: React.FunctionComponent<Omit<import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & import("react-native").ViewProps & {
|
15 | isVisible: boolean;
|
16 | backdropStyle?: StyleProp<ViewStyle>;
|
17 | overlayStyle?: StyleProp<ViewStyle>;
|
18 | onBackdropPress?(): void;
|
19 | fullScreen?: boolean;
|
20 | ModalComponent?: typeof React.Component;
|
21 | } & Partial<import("../config").ThemeProps<OverlayProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & import("react-native").ViewProps & {
|
22 | isVisible: boolean;
|
23 | backdropStyle?: StyleProp<ViewStyle>;
|
24 | overlayStyle?: StyleProp<ViewStyle>;
|
25 | onBackdropPress?(): void;
|
26 | fullScreen?: boolean;
|
27 | ModalComponent?: typeof React.Component;
|
28 | } & Partial<import("../config").ThemeProps<OverlayProps>>>;
|
29 | export default _default;
|