/* eslint-disable react/no-unused-prop-types */ /* eslint-disable react/no-unstable-nested-components */ // TODO: This component should be cleaned up and usage should be re-examined. The types should be reconsidered as well. import { Typography, Statistic, Card, Progress } from 'antd'; const { Text } = Typography; interface StatisticItemProps { title?: string; value?: any; prefix?: any; suffix?: string; color?: string; progress?: boolean; centered?: boolean; formatter?: any; } const defaultProps = { title: '', value: 0, prefix: null, suffix: null, color: '', progress: false, centered: false, formatter: null, }; interface ContentProps { prefix: string; value: any; suffix: string; title: string; } function Content({ prefix, value, suffix, title }: ContentProps) { return (