@vue-ui-kit/ant
Version:
Vue3 UI Kit based on Ant Design
10 lines (9 loc) • 527 B
TypeScript
import { CellFuncArg, ColumnProps, PFormatter } from '../../declarations/antProxy';
export declare const antFormatters: PFormatter;
export declare const renderAntFormat: <D extends Recordable = Recordable>(formatter: string | [string, ...Array<any>] | ((arg: CellFuncArg<D>) => any), { record, index, column, field, }: {
record: D;
index: number;
field?: string;
column: ColumnProps<D>;
}) => any;
export declare const addFormatter: (formatter: Record<string, (a: CellFuncArg, ...args: any[]) => any>) => void;