index.d.ts 450 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
iugo's avatar
iugo committed
2 3 4
import { CardProps } from 'antd/lib/card';

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> {}