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.

13 lines
548 B

import React from 'react';
import { ModalProps, ViewStyle, StyleProp } from 'react-native';
import { InlinePressableProps, RneFunctionComponent } from '../helpers';
export interface OverlayProps extends Omit<ModalProps, 'visible'>, Omit<InlinePressableProps, 'onPress'> {
isVisible: boolean;
backdropStyle?: StyleProp<ViewStyle>;
overlayStyle?: StyleProp<ViewStyle>;
onBackdropPress?(): void;
fullScreen?: boolean;
ModalComponent?: typeof React.Component;
}
export declare const Overlay: RneFunctionComponent<OverlayProps>;