react-native-js-only-modal
Version:
An enhanced, animated, customizable Modal for React Native. This is a javascript only Modal
9 lines (8 loc) • 505 B
TypeScript
import * as React from 'react';
import { Props } from './typings';
declare const Provider: ({ children, zIndex, }: {
children: React.ReactNode | React.ReactNode[];
zIndex?: number | undefined;
}) => JSX.Element;
declare const Modal: ({ visible, children, onCloseRequest, style, hideBackDrop, animationIn, animationOut, duration, direction, containerStyle, backDropStyle, useNativeDriver, easing, dimensions, disableBackHandler, }: Props) => JSX.Element | null;
export { Modal, Provider };