UNPKG

terriajs

Version:

Geospatial data visualization platform.

10 lines 396 B
import { jsx as _jsx } from "react/jsx-runtime"; import { useDraggable } from "./useDraggable"; const DragWrapper = ({ children, handleSelector, style, wrapperCSS }) => { const [ref] = useDraggable({ handleSelector }); return (_jsx("div", { css: wrapperCSS, style: style, ref: ref, children: children })); }; export default DragWrapper; //# sourceMappingURL=DragWrapper.js.map