2.0.0 • Published 5 years ago
react-dialog-themarker v2.0.0
npm i react-dialog-themarker
Usage:
import Dialog from "react-dialog-themarker";
place Dialog as a sibling to the content it covers
required props:
- container - dom element reference to parent of dialog and content
- content - dom element reference to content
- isOpen - boolean that indicates if dialog should be open
- close - function to run for closing the dialog
- children - function that follows render prop pattern and return html to be rendered in dialog