Browse Source

Update index.d.ts

iugo 7 năm trước cách đây
mục cha
commit
8d75484846
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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';
-export interface IChartCardProps {
+import { CardProps } from 'antd/lib/card';
+
+export interface IChartCardProps extends CardProps {
   title: React.ReactNode;
   action?: React.ReactNode;
   total?: React.ReactNode | number | (() => React.ReactNode | number);