import React, { memo } from 'react';
import { Card, Tabs, Row, Col } from 'antd';
import { formatMessage, FormattedMessage } from 'umi/locale';
import { Charts, NumberInfo } from 'ant-design-pro';
import styles from '../style.less';
const { TimelineChart, Pie } = Charts;
const CustomTab = ({ data, currentTabKey: currentKey }) => (
}
gap={2}
total={`${data.cvr * 100}%`}
theme={currentKey !== data.name && 'light'}
/>
);
const { TabPane } = Tabs;
const OfflineData = memo(
({ activeKey, loading, offlineData, offlineChartData, handleTabChange }) => (
{offlineData.map(shop => (
} key={shop.name}>
))}
)
);
export default OfflineData;