From 8d75484846ba52376284b03d00721fcfc90d2a89 Mon Sep 17 00:00:00 2001 From: iugo Date: Sat, 8 Sep 2018 10:01:16 +0800 Subject: [PATCH] Update index.d.ts --- src/components/Charts/ChartCard/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Charts/ChartCard/index.d.ts b/src/components/Charts/ChartCard/index.d.ts index d174593f..ae25ec64 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); -- GitLab