Browse Source

Update index.d.ts

iugo 7 years ago
parent
commit
8d75484846
1 changed files with 3 additions and 1 deletions
  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);