| 11 | import type { GridCellConfig } from "../core/calculate.js"; |
| 12 | |
| 13 | export interface GridBackgroundProps extends GridCellConfig { |
| 14 | /** |
| 15 | * Number of rows to display. If "auto", calculates based on height. |
| 16 | * @default 10 |
| 17 | */ |
| 18 | rows?: number | "auto"; |
| 19 | |
| 20 | /** |
| 21 | * Height of the background in pixels. Used when rows="auto". |
| 22 | */ |
| 23 | height?: number; |
| 24 | |
| 25 | /** |
| 26 | * Color of the grid cell backgrounds. |
| 27 | * @default "#e0e0e0" |
| 28 | */ |
| 29 | color?: string; |
| 30 | |
| 31 | /** |
| 32 | * Border radius of grid cells in pixels. |
| 33 | * @default 4 |
| 34 | */ |
| 35 | borderRadius?: number; |
| 36 | |
| 37 | /** |
| 38 | * Additional CSS class name. |
| 39 | */ |
| 40 | className?: string; |
| 41 | |
| 42 | /** |
| 43 | * Additional inline styles. |
| 44 | */ |
| 45 | style?: React.CSSProperties; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * SVG grid background component. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…