UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

19 lines (18 loc) 539 B
import React from 'react'; import type { Card2Props } from '../types'; export default class Card2<T> extends React.Component<Card2Props & T, object> { static propsList: Array<string>; static defaultProps: { className: string; }; handleClick(e: React.MouseEvent<HTMLDivElement>): void; handleCheck(): void; renderCheckbox(): JSX.Element | null; /** * 渲染内容区 */ renderBody(): JSX.Element | null; render(): JSX.Element; } export declare class Card2Renderer extends Card2<{}> { }