{"version":3,"file":"components/Card/statistic.mjs","sources":["../../../src/components/Card/statistic.tsx"],"sourcesContent":["import { Statistic, StatisticProps } from 'antd';\n\nexport interface StatisticCardProps {\n  title: string | React.ReactNode;\n  value: string | React.ReactNode;\n  statisticProps?: StatisticProps;\n  boxProps?: { style?: React.CSSProperties };\n}\n\nexport const StatisticCard: React.FC<StatisticCardProps> = ({\n  title,\n  value,\n  statisticProps,\n  boxProps,\n}) => {\n  return (\n    <div className=\"statistic-card\" {...boxProps}>\n      <Statistic\n        title={<div className=\"statistic-card-title\">{title}</div>}\n        valueRender={() => value}\n        valueStyle={{ fontSize: 24 }}\n        {...statisticProps}\n      />\n    </div>\n  );\n};\n"],"names":["StatisticCard","title","value","statisticProps","boxProps","Statistic"],"mappings":";;AASO,MAAMA,gBAA8C,CAAC,EAC1DC,KAAK,EACLC,KAAK,EACLC,cAAc,EACdC,QAAQ,EACT,GACQ,WAAP,GACE,IAAC;QAAI,WAAU;QAAkB,GAAGA,QAAQ;kBAC1C,kBAACC,WAASA;YACR,qBAAO,IAAC;gBAAI,WAAU;0BAAwBJ;;YAC9C,aAAa,IAAMC;YACnB,YAAY;gBAAE,UAAU;YAAG;YAC1B,GAAGC,cAAc"}