UNPKG

react-bounded-draggable-modal

Version:

A draggable modal component with boundary support for React and Next.js

16 lines (15 loc) 346 B
import React from "react"; interface ClassNames { modal?: string; header?: string; body?: string; } interface ModalProps { isOpen: boolean; onOutsideClick: () => void; header?: React.ReactNode; children?: React.ReactNode; classNames?: ClassNames; } declare const Modal: React.FC<ModalProps>; export default Modal;