You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.5 KiB
30 lines
1.5 KiB
import React from 'react';
|
|
import { ModalProps, ViewStyle, StyleProp } from 'react-native';
|
|
import { RneFunctionComponent } from '../helpers';
|
|
export declare type OverlayProps = ModalProps & {
|
|
isVisible: boolean;
|
|
backdropStyle?: StyleProp<ViewStyle>;
|
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
onBackdropPress?(): void;
|
|
fullScreen?: boolean;
|
|
ModalComponent?: typeof React.Component;
|
|
};
|
|
declare const Overlay: RneFunctionComponent<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?: typeof React.Component;
|
|
} & 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 & {
|
|
isVisible: boolean;
|
|
backdropStyle?: StyleProp<ViewStyle>;
|
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
onBackdropPress?(): void;
|
|
fullScreen?: boolean;
|
|
ModalComponent?: typeof React.Component;
|
|
} & Partial<import("../config").ThemeProps<OverlayProps>>>;
|
|
export default _default;
|