import { useContext } from 'react'; import { observer } from 'mobx-react'; // import { stores_Context } from '../config'; import { Button, Table, Switch, Input, Space, Typography, Row, Col, Spin, Radio, Tabs } from 'antd'; import SearchForm from './../search/SearchForm'; import { bu, KPIObjects } from './../../libs/ht'; export default observer((props) => { // const { } = useContext(stores_Context); return ( <> { // TradeStore.setStateSearch(form); // pageRefresh(obj); }} /> { const id = String(i); return { ...ele, children: `Content of tab ${id}`, }; })} /> ); });