select everything but an element in react code example
Example: select everything but an element in react
import reactDom from "react-dom";
import history from "../history";
const Modal = () => {
return reactDom.createPortal(
history.push("/")}
className="ui dimmer modals visible active"
>
e.stopPropagation()}
id="myModal"
className="ui standard modal visible active"
>
Delte Streams
Are you sure you want to delete this stream ?
,
document.querySelector("#modal")
);
};
export default Modal;