import React from 'react'; import { Card } from 'antd'; import styles from './index.less'; const ChartCard = ({ contentHeight, title, action, total, footer, children, ...rest }) => (
{title} {action}
{ // eslint-disable-next-line total &&

}

{children}
{ footer && (
{footer}
) }
); export default ChartCard;