import type { TabsProps } from 'antd'; import { Tabs } from 'antd'; import React from 'react'; import { OrderStatusLabels } from '@/constants/trade'; import styles from './index.module.less'; import OrderListItem from './list'; // const onChange = (key: string) => { // console.log(key); // }; const OrderList: React.FC = () => { const items: TabsProps['items'] = Object.entries(OrderStatusLabels).map( ([value, list]) => ({ key: value, label: list.label, children: , }), ); return (
); }; export default OrderList;