ze-react-component-library
Version:
ZeroETP React Component Library
11 lines (10 loc) • 718 B
TypeScript
import { LogicformType } from "zeroetp-api-sdk";
import { ProFormColumnsType } from "@ant-design/pro-form";
import { ZEGridItem, ZEGridProps } from "../ZEGrid/ZEGrid.types";
export declare type ZEReportProps = {
title?: string;
initialLogicform?: LogicformType;
filters?: (helperFunctions: Record<string, Function>, initialLogicform?: LogicformType) => ProFormColumnsType[];
logicforms: LogicformType[] | ((filterValues?: Record<string, any>, helperFunctions?: Record<string, Function>, initialLogicform?: LogicformType) => LogicformType[]);
dataToGrid: (data: any[], filterValues?: Record<string, any>, helperFunctions?: Record<string, Function>) => ZEGridItem[][];
} & Omit<ZEGridProps, "data">;