index.d.ts 445 Bytes
Newer Older
iugo's avatar
iugo committed
1
import { CardProps } from 'antd/lib/card';
陈小聪's avatar
陈小聪 committed
2
import React from 'react';
iugo's avatar
iugo committed
3 4

export interface IChartCardProps extends CardProps {
陈帅's avatar
陈帅 committed
5
  title: React.ReactNode;
6
  action?: React.ReactNode;
7
  total?: React.ReactNode | number | (() => React.ReactNode | number);
8
  footer?: React.ReactNode;
陈帅's avatar
陈帅 committed
9
  contentHeight?: number;
10
  avatar?: React.ReactNode;
jim's avatar
jim committed
11
  style?: React.CSSProperties;
12 13
}

jim's avatar
jim committed
14
export default class ChartCard extends React.Component<IChartCardProps, any> {}