This repository has been archived on 2025-05-09. You can view files and clone it, but cannot push or open issues or pull requests.
2022-04-06 10:42:45 +03:00

32 lines
490 B
JavaScript

import { Table as AntTable } from 'antd';
import config from './config';
export default {
title: 'FinGAP',
};
const dataSource = [
{
key: '1',
riskName: 'Риск 1',
sum: 1000,
premium: 10000,
},
{
key: '1',
riskName: 'Риск 2',
sum: 5000,
premium: 50000,
},
{
key: '3',
riskName: 'Риск 3',
sum: 10000,
premium: 100000,
},
];
export const Table = () => {
return <AntTable {...config} dataSource={dataSource} />;
};