import React from 'react';
import ContentBox from '../../../themeComponents/ContentBox';
import TableWithoutTitle from '../../../businessComponents/TableWithoutTitle';
import DownloadTools from '../../../businessComponents/DownloadTools';
import { columns } from './mock';
import './index.less';
const list = [];
for (let i = 0; i < 100; i++) {
  list.push({
    key: i,
    name: `Edrward ${i}`,
    age: 32,
    address: `London Park no. ${i}`,
  });
}

export default function CardTheme() {
  return (
    <ContentBox className="page-content-layout">
      <DownloadTools fromLocal={'101533'} />
      <TableWithoutTitle cutNum={60} onClick={() => console.log('@@@@')} btnText="新增一条" columns={columns} dataSource={list} />
    </ContentBox>
  );
}
