import {Card, Button, Table} from 'antd';
import {FC} from 'react';
import MenuModal from './modal';
import {useHandle, useList} from './hooks';
import {PAGE_SIZE_LIST} from '@utils';
import {useContextSection} from '@hooks';
import {context} from '../context';
import {TableTools} from '@components';
const TableList: FC = function() {
const [{isFetching, data, page, pageSize, count}, {refetch, onPageChange}] = useList();
const [{columns, visible, editId}, {onModalClose, onAdd}] = useHandle(data, refetch);
const onClose = useContextSection(context, ([{onClose}]) => onClose);
return (
<>
>
);
};
export default TableList;