/** @format */

import * as React from 'react';
import {Spin} from 'antd';
import Loadable from 'react-loadable';

import Tabs from '../../../components/Tabs';
const MerchantCallLog = Loadable({
    loader: () => import('./merchant'),
    loading: () => <Spin size="large" />,
});
const SourceCallLog = Loadable({
    loader: () => import('./provide'),
    loading: () => <Spin size="large" />,
});
const tabsDataSource = [
    {
        tabname: '商户调用日志',
        key: 'merchant',
        content: <MerchantCallLog />,
    },
    {
        tabname: '数据源调用日志',
        key: 'source',
        content: <SourceCallLog />,
    },
];
const Clllog: React.FC = () => {
    return <Tabs animated={false} defaultActiveKey="merchant" dataSource={tabsDataSource} />;
};
export default Clllog;
