From 625562a38e7570837506f7bb2f056b13c9a8e1f7 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 8 Nov 2024 18:39:02 +0800 Subject: [PATCH] doc: Update document. --- core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/README.md b/core/README.md index c45d8cd8..0b943e22 100644 --- a/core/README.md +++ b/core/README.md @@ -311,7 +311,7 @@ export default Demo | `rectProps` | Grid node attribute settings | `React.SVGProps` | `2` | | `weekLabels` | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |  | `monthLabels` | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |  -| `panelColors` | Backgroud color of active colors | `Record` | `['var(--rhm-rect, #EBEDF0)','#C6E48B','#7BC96F', '#239A3B', '#196127']` |  +| `panelColors` | Backgroud color of active colors | `Record` \| `string[]` | `['var(--rhm-rect, #EBEDF0)','#C6E48B','#7BC96F', '#239A3B', '#196127']` |  | `rectRender` | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - | | `legendRender` | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |