nsn-comp
Version:
NSN核心组件
12 lines (11 loc) • 411 B
TypeScript
import { TableProps, TableState } from '../../../@types';
import { ProColumns } from '@ant-design/pro-table';
import { BaseEntity } from 'nsn-entity';
import { Component } from 'react';
/**
* 表格列
*
* @param comp 页面组件对象
*/
declare const getColumns: <T extends BaseEntity, DT extends string>(comp: Component<TableProps<T, DT>, TableState<T>>) => Array<ProColumns<T>>;
export { getColumns };