import React, {useRef, useState} from "react"; import {ProcessOptions} from "./Options"; import {Notification} from "./Notification"; import {Overlay} from "react-bootstrap"; export function DialogPopup({options, data, target, id, options_class, sideMenuIsOpen, displayNotification, onHideNotification, horizontal}) { const [show, setShow] = useState(false); const ref = useRef(null); let div_classes = `overlayVariant border rounded ${options_class || ""}`; const handleClick = (_event) => { setShow(!show); }; return (<> } /> setShow(false)} rootClose={true}> {({ placement: _placement, arrowProps: _arrowProps, show: _show, popper: _popper, hasDoneInitialMeasure: _hasDoneInitialMeasure, ...props }) => (
)}
); }