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} />;
};
