import styled from "styles" import { useRef } from "react" import useZoomEvents from "hooks/useZoomEvents" import useZoomPanEffect from "hooks/useZoomPanEffect" export default function Canvas() { const rCanvas = useRef(null) const rGroup = useRef(null) const events = useZoomEvents(rCanvas) useZoomPanEffect(rGroup) return ( ) } const MainSVG = styled("svg", { position: "fixed", top: 0, left: 0, width: "100%", height: "100%", touchAction: "none", zIndex: 100, }) const MainGroup = styled("g", {})