lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
8 lines • 328 B
JavaScript
import { jsx as _jsx } from "preact/jsx-runtime";
import usePan from "../hooks/usePan";
const PanDiv = ({ style, onPanStart, onPanEnd, onPan }) => {
const pressRef = usePan({ onPanStart, onPanEnd, onPan });
return _jsx("div", { ref: pressRef, style: style });
};
export default PanDiv;
//# sourceMappingURL=PanDiv.js.map