Parcourir la source

Update index.d.ts

iugo il y a 7 ans
Parent
commit
8d75484846
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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);