import React from 'react'; import { Table, Tooltip, Tag } from '../../index'; function App() { const columns = [ { title: 'Name', dataIndex: 'name', }, { title: 'Age', dataIndex: 'age', }, { title: 'Address', dataIndex: 'address', }, { title: 'Description', dataIndex: 'description', }, { dataIndex: 'x', render: (text, record) => ( Show Info ), }, ]; const data = []; for (let i = 0; i < 8; i++) { const age = (i * 1000) % 149 ; const name = `Edward King ${i}`; data.push({ key: `${i}`, name, age, address: `London, Park Lane no. ${i}`, address2: `London, Park Lane no. ${i}`, description: `My name is ${name}`, }); } const scroll = { y: 300 }; return ; } export default App;