UNPKG

@tachybase/plugin-workflow-approval

Version:

Approval base in Workflow

25 lines (24 loc) 694 B
import React from 'react'; export interface SimpleTableColumn { key: string; title: string; dataIndex?: string; render?: (value: any, record: any, index: number) => React.ReactNode; } export interface SimpleTableProps { /** 表格标题 */ title?: React.ReactNode; /** 表格列配置 */ columns: SimpleTableColumn[]; /** 表格数据源 */ dataSource: any[]; /** 自定义样式 */ style?: React.CSSProperties; /** 表格容器样式 */ wrapperStyle?: React.CSSProperties; } /** * 极简表格组件 * 用于展示简单的表格数据,样式简洁,无额外依赖 */ export declare const SimpleTable: React.FC<SimpleTableProps>;