UNPKG

react-bottom-drawer

Version:

A React Component to build friendly dialogs that slide from the bottom

15 lines (14 loc) 492 B
import * as React from "react"; interface IProps { isVisible: boolean; onClose: () => void; duration?: number; hideScrollbars?: boolean; unmountOnExit?: boolean; mountOnEnter?: boolean; className?: string; backdropClassname?: string; children: React.ReactNode; } declare const SlideUpTransition: ({ isVisible, children, onClose, unmountOnExit, mountOnEnter, duration, hideScrollbars, className, }: IProps) => JSX.Element; export default SlideUpTransition;