import { modulate } from '@tldraw/utils' import { useEditor } from '../../hooks/useEditor' import { suffixSafeId, useUniqueSafeId } from '../../hooks/useSafeId' /** @public */ export interface TLGridProps { x: number y: number z: number size: number } /** @public @react */ export function DefaultGrid({ x, y, z, size }: TLGridProps) { const id = useUniqueSafeId('grid') const editor = useEditor() const { gridSteps } = editor.options return ( ) }