"use strict";

require("./demo3.css");

var _ = _interopRequireDefault(require(".."));

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

var _2 = require("../..");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var Popup = _["default"].Popup;

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Popup, {
  trigger: /*#__PURE__*/_react["default"].createElement(_2.Button, null, "Open"),
  triggerType: "click"
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "overlay-demo"
}, "Hello World From Popup!")), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(Popup, {
  trigger: /*#__PURE__*/_react["default"].createElement(_2.Input, {
    placeholder: "Use Down Arrow to open"
  }),
  triggerType: "click",
  triggerClickKeycode: 40
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "overlay-demo"
}, "Hello World From Popup!"))), document.getElementById('overlay-demo-3'));