浏览代码

Update index.d.ts

iugo 7 年之前
父节点
当前提交
8d75484846
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/Charts/ChartCard/index.d.ts

+ 3 - 1
src/components/Charts/ChartCard/index.d.ts

@@ -1,5 +1,7 @@
 import * as React from 'react';
 import * as React from 'react';
-export interface IChartCardProps {
+import { CardProps } from 'antd/lib/card';
+
+export interface IChartCardProps extends CardProps {
   title: React.ReactNode;
   title: React.ReactNode;
   action?: React.ReactNode;
   action?: React.ReactNode;
   total?: React.ReactNode | number | (() => React.ReactNode | number);
   total?: React.ReactNode | number | (() => React.ReactNode | number);