@rneui/base
Version:
Cross Platform React Native UI Toolkit
13 lines (12 loc) • 548 B
TypeScript
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>;