import './demo3.css';
import Overlay from '..';
import React from 'react';
import ReactDOM from 'react-dom';
import { Button, Input } from '../..';
const { Popup } = Overlay;
ReactDOM.render(React.createElement("div", null,
    React.createElement(Popup, { trigger: React.createElement(Button, null, "Open"), triggerType: "click" },
        React.createElement("span", { className: "overlay-demo" }, "Hello World From Popup!")),
    React.createElement("br", null),
    React.createElement("br", null),
    React.createElement(Popup, { trigger: React.createElement(Input, { placeholder: "Use Down Arrow to open" }), triggerType: "click", triggerClickKeycode: 40 },
        React.createElement("span", { className: "overlay-demo" }, "Hello World From Popup!"))), document.getElementById('overlay-demo-3'));
