"use client"
import{m as s}from"./chunk-NGCWPE34.mjs";import{useId as d}from"react";import{jsx as r,jsxs as a}from"react/jsx-runtime";function u({cellSize:t=12,strokeWidth:i=1,patternOffset:e=[0,0],className:o}){let n=d();return a("svg",{className:s("pointer-events-none absolute inset-0 text-black/10",o),width:"100%",height:"100%",children:[r("defs",{children:r("pattern",{id:`grid-${n}`,x:e[0]-1,y:e[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:r("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:i})})}),r("rect",{fill:`url(#grid-${n})`,width:"100%",height:"100%"})]})}export{u as a};
