diff --git a/src/components/Charts/ChartCard/index.d.ts b/src/components/Charts/ChartCard/index.d.ts index d174593fddc4d0e6aa59b4726a973e1f7ca90673..ae25ec64c9d238b9edddaa1e0b6486069b94c50b 100644 --- a/src/components/Charts/ChartCard/index.d.ts +++ b/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);