UNPKG

@cocoy/kit-components

Version:

一些前端组件

20 lines (19 loc) 786 B
import type { NavigateFunction } from 'react-router-dom'; import type { MangoProTableProps } from './type'; export declare const renderTableColumns: (columns: MangoProTableProps['columns'], columnActions: MangoProTableProps['columnActions'], queryFormOptionData: Record<string, any>, navigate: NavigateFunction) => ({ key: string; title: string; dataIndex: string; align: string; width: string | number | undefined; ellipsis: boolean; fixed: string | boolean | undefined; render: (text: any, record: any, index: number) => any; } | { title: string; key: string; width: string | number | undefined; fixed: string; align: string; render: (text: any, record: any) => import("react/jsx-runtime").JSX.Element | null; } | undefined)[];