UNPKG

zent

Version:

一套前端设计语言和基于React的实现

22 lines (21 loc) 534 B
import { Component } from 'react'; export interface ICardProps { type?: 'normal' | 'nested'; title?: React.ReactNode; action?: React.ReactNode; style?: React.CSSProperties; bodyStyle?: React.CSSProperties; loading?: boolean; className?: string; } export declare class Card extends Component<ICardProps> { static defaultProps: { type: string; style: {}; bodyStyle: {}; loading: boolean; className: string; }; render(): JSX.Element; } export default Card;