UNPKG

591 BTypeScriptView Raw
1import * as React from 'react';
2import CardBody from './CardBody';
3import CardFooter from './CardFooter';
4import CardHeader from './CardHeader';
5import { CardPropsType } from './PropsType';
6export interface CardProps extends CardPropsType, React.HTMLProps<HTMLDivElement> {
7 prefixCls?: string;
8}
9export default class Card extends React.Component<CardProps, any> {
10 static defaultProps: {
11 prefixCls: string;
12 full: boolean;
13 };
14 static Header: typeof CardHeader;
15 static Body: typeof CardBody;
16 static Footer: typeof CardFooter;
17 render(): JSX.Element;
18}