import './demo6.css';
import Overlay from '..';
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '../..';
const { Popup } = Overlay;
ReactDOM.render(React.createElement(Popup, { trigger: React.createElement(Button, null, "Open first overlay"), triggerType: "click" },
    React.createElement("div", { className: "overlay-demo" },
        React.createElement(Popup, { trigger: React.createElement(Button, null, "Open second overlay"), triggerType: "click", container: trigger => trigger.parentNode },
            React.createElement("div", { className: "overlay-demo" },
                React.createElement("p", null, "Hello World From Second Overlay!"))),
        React.createElement("p", null, "Hello World From First Overlay!"))), document.getElementById('overlay-demo-6'));
