UNPKG

@shridey/intelligentable

Version:

Intelligentable is a highly customizable, fully-types, performant, and feature-rich React component library built on top of handpicked industry-level production-grade UI Components for modern web applications.

15 lines (14 loc) 793 B
import type { AnyObject } from "antd/es/_util/type"; import type { IntelligentTableColumnType } from "./IntelligentTableColumnType"; /** * Props for the summary row in IntelligentTable. * * @property {readonly AnyObject[] | undefined} data - The table data for summary calculations. * @property {IntelligentTableColumnType[]} columns - The columns configuration for summary calculations. * @property {Pick<React.CSSProperties, "color" | "backgroundColor" | "fontWeight">} [defaultSummaryRowStyle] - Optional style configuration for the summary row. */ export type IntelligentTableSummaryProps = { data: readonly AnyObject[] | undefined; columns: IntelligentTableColumnType[]; defaultSummaryRowStyle?: Pick<React.CSSProperties, "color" | "backgroundColor" | "fontWeight">; };