import Balloon from '..'; import Button from '../../button'; import React from 'react'; import ReactDOM from 'react-dom'; const Demo = () => (
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.       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.       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(, document.getElementById('balloon-demo-5'));