UNPKG

jamis

Version:

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

26 lines (25 loc) 870 B
import type { Option } from 'jamis-core'; import { BaseSelection } from '../../components'; import type { TableSelectionProps } from '../types'; export declare class TableSelection extends BaseSelection<TableSelectionProps> { static defaultProps: { cellRender: (column: { name: string; label: string; [propName: string]: any; }, option: Option, colIndex: number, rowIndex: number) => JSX.Element; placeholder: string; itemRender: (option: Option, states: import("../..").ItemRenderStates) => JSX.Element; multiple: boolean; clearable: boolean; }; getColumns(): { [propName: string]: any; name: string; label: string; }[]; renderTHead(): JSX.Element; renderTBody(): JSX.Element; render(): JSX.Element; } export default TableSelection;