Explorar el Código

Update index.d.ts

iugo hace 7 años
padre
commit
8d75484846
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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);