import React from 'react'; interface CanvasGridOverlayProps { visible: boolean; cols?: number; rows?: number; } /** * CanvasGridOverlay — Renders a semi-transparent grid overlay on the canvas. * Uses CSS repeating-linear-gradient for performance (no DOM nodes per line). */ export const CanvasGridOverlay: React.FC = ({ visible, cols = 6, rows = 6, }) => { if (!visible) return null; const colWidth = 100 / cols; const rowHeight = 100 / rows; return (
{/* Center crosshair */}
); };