import Balloon from '..'; import React from 'react'; import ReactDOM from 'react-dom'; import Table from '../../table'; const Tooltip = Balloon.Tooltip; const dataSource = [{ name: 'Li Bai', intro: 'Li Bai (Chinese: 李白; pinyin: Lǐ Bái; 701–762), also known as Li Bo, courtesy name Taibai (Chinese: 太白), art name Qinglian Jushi (Chinese: 青蓮居士), was a Chinese poet acclaimed from his own day to the present as a genius and a romantic figure who took traditional poetic forms to new heights.', id: 100306660940, }, { name: 'William Shakespeare', intro: 'William Shakespeare (bapt. 26 April 1564 – 23 April 1616) was an English playwright, poet, and actor, widely regarded as the greatest writer in the English language and the world\'s greatest dramatist. He is often called England\'s national poet and the "Bard of Avon" (or simply "the Bard").', id: 100306660941, }]; const render = value => { const intro =
{value}
; return {value}; }; const App = () => (
); ReactDOM.render(, document.getElementById('balloon-demo-2'));