UNPKG

react-bounded-draggable-modal

Version:

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

18 lines (15 loc) 344 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 { Modal };