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<Pick<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>>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "visible" | "nativeID" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "transparent" | "pointerEvents" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "isVisible" | "animated" | "animationType" | "onRequestClose" | "onShow" | "presentationStyle" | "supportedOrientations" | "onDismiss" | "onOrientationChange" | "hardwareAccelerated" | "statusBarTranslucent" | "fullScreen" | "backdropStyle" | "overlayStyle" | "onBackdropPress" | "ModalComponent">> | 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;
|