MCPcopy
hub / github.com/react-grid-layout/react-grid-layout / GridBackgroundProps

Interface GridBackgroundProps

src/extras/GridBackground.tsx:13–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11import type { GridCellConfig } from "../core/calculate.js";
12
13export 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…