import Balloon from '..';
import Button from '../../button';
import React from 'react';
import ReactDOM from 'react-dom';
const Demo = () => (React.createElement("div", { className: "balloon-container" },
    React.createElement(Balloon, { triggerType: "click", title: "Balloon with Action", trigger: React.createElement(Button, null, "Balloon with Action"), align: "br", closable: true, linkProps: ['#111', '点击跳转'], buttonProps: '行动按钮', onButtonClick: () => { console.log('hello, world!'); } }, "First performed around 1600, Hamlet tells the story of a prince whose duty to revenge his father's death entangles him in philosophical problems he can't solve."),
    React.createElement("span", null, " \u00A0 \u00A0 \u00A0 "),
    React.createElement(Balloon, { triggerType: "click", title: "Balloon with Action", trigger: React.createElement(Button, null, "Balloon with Action"), align: "br", closable: true, linkProps: ['#111', '点击跳转'] }, "First performed around 1600, Hamlet tells the story of a prince whose duty to revenge his father's death entangles him in philosophical problems he can't solve."),
    React.createElement("span", null, " \u00A0 \u00A0 \u00A0 "),
    React.createElement(Balloon, { triggerType: "click", title: "Balloon with Action", trigger: React.createElement(Button, null, "Balloon with Action"), align: "br", closable: true, buttonProps: '行动按钮', onButtonClick: () => { console.log('hello, world!'); } }, "First performed around 1600, Hamlet tells the story of a prince whose duty to revenge his father's death entangles him in philosophical problems he can't solve.")));
ReactDOM.render(React.createElement(Demo, null), document.getElementById('balloon-demo-5'));
