Skip to content

Commit

Permalink
fix: allow configuration of summary cell format through presets
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronicStone committed Apr 30, 2024
1 parent fb62872 commit 86625dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export type Column<
headerStyle?: CellStyle
summary?: Array<{
value: (data: T[]) => BaseCellValue
format?: string | ((data: T[]) => string)
format?: string | Preset | ((data: T[]) => string | Preset)
cellStyle?: CellStyle | ((data: T[]) => CellStyle)
}>
} & (
Expand Down

0 comments on commit 86625dc

Please sign in to comment.