Skip to content

Commit 625562a

Browse files
committed
doc: Update document.
1 parent 0cbd026 commit 625562a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export default Demo
311311
| `rectProps` | Grid node attribute settings | `React.SVGProps<SVGRectElement>` | `2` |
312312
| `weekLabels` | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']`
313313
| `monthLabels` | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']`
314-
| `panelColors` | Backgroud color of active colors | `Record<number, string>` | `['var(--rhm-rect, #EBEDF0)','#C6E48B','#7BC96F', '#239A3B', '#196127']`
314+
| `panelColors` | Backgroud color of active colors | `Record<number, string>` \| `string[]` | `['var(--rhm-rect, #EBEDF0)','#C6E48B','#7BC96F', '#239A3B', '#196127']`
315315
| `rectRender` | Single `day` block re-render | `<E = SVGRectElement>(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |
316316
| `legendRender` | Single `legend` block re-render | `(props: React.SVGProps<SVGRectElement>) => React.ReactNode` | - |
317317

0 commit comments

Comments
 (0)