import React from 'react';
import { Table } from 'antd';

export const BaseTable = ({ 
  columns, 
  dataSource, 
  loading = false,
  rowKey = 'id',
  ...props 
}) => (
  <Table 
    columns={columns}
    dataSource={dataSource}
    loading={loading}
    rowKey={rowKey}
    {...props}
  />
);