import './demo8.css';
import Overlay from '..';
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '../..';
const { Popup } = Overlay;
ReactDOM.render(React.createElement("div", { className: "scroll-container" },
    React.createElement(Popup, { trigger: React.createElement(Button, null, "Open"), triggerType: "click", container: trigger => trigger.parentNode },
        React.createElement("div", { className: "overlay-demo" }, "Hello World From Popup!")),
    React.createElement("div", { style: { height: '300px' } })), document.getElementById('overlay-demo-8'));
