import React from 'react'; import { Card, Spin } from 'antd'; import styles from './index.less'; const ChartCard = ({ loading = false, contentHeight, title, action, total, footer, children, ...rest }) => { const content = (