- {(_, colIndex) => (
- 1 && rowIndex() < (local.gridRows || 1) - 1) && {
- "border-bottom-width": "var(--guide-width)"
- })
- }}
- />
- )}
-
- )}
-
-
-
-
- {(_, rowIndex) => (
-
- {(_, colIndex) => (
- 1 && rowIndex() < (local.gridRows || 1) - 1) && {
- "border-bottom-width": "var(--guide-width)"
- })
- }}
- />
- )}
-
- )}
-
-
-
-
- {(_, rowIndex) => (
-
- {(_, colIndex) => (
- 1 && rowIndex() < (local.gridRows || 1) - 1) && {
- "border-bottom-width": "var(--guide-width)"
- })
- }}
- />
- )}
-
- )}
-
-
-
-
- {(_, rowIndex) => (
-
- {(_, colIndex) => (
- 1 && rowIndex() < (local.gridRows || 1) - 1) && {
- "border-bottom-width": "var(--guide-width)"
- })
- }}
- />
- )}
-
- )}
-
-
-
-
- {(_, rowIndex) => (
-
- {(_, colIndex) => (
- 1 && rowIndex() < (local.gridRows || 1) - 1) && {
- "border-bottom-width": "var(--guide-width)"
- })
- }}
- />
- )}
-
- )}
-
-
-
+
+ {/* XS Grid Guides */}
+ {renderGridGuides("xs", styles.grid_xsGuide, local.xsGridColumns || 8, local.xsGridRows || 6)}
+
+ {/* SM Grid Guides */}
+ {renderGridGuides("sm", styles.grid_smGuide, local.smGridColumns || 8, local.smGridRows || 5)}
+
+ {/* SMD Grid Guides */}
+ {renderGridGuides("smd", styles.grid_smdGuide, local.mdGridColumns || 12, local.mdGridRows || 4)}
+
+ {/* MD Grid Guides */}
+ {renderGridGuides("md", styles.grid_mdGuide, local.mdGridColumns || 12, local.mdGridRows || 4)}
+
+ {/* LG Grid Guides */}
+ {renderGridGuides("lg", styles.grid_lgGuide, local.mdGridColumns || 12, local.mdGridRows || 4)}
+
);
}
+
interface GridCrossProps {
- crossRow: number;
- crossColumn: number;
+ row: number;
+ column: number;
}
export function Cross(props: GridCrossProps) {
return (