UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

28 lines (27 loc) 1.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "DragHandle", { enumerable: true, get: function() { return DragHandle; } }); var _object_spread = require("@swc/helpers/_/_object_spread"); var _object_spread_props = require("@swc/helpers/_/_object_spread_props"); var _jsxruntime = require("react/jsx-runtime"); var _plasmareacticons = require("@coveord/plasma-react-icons"); var _CollectionContext = require("../../CollectionContext.js"); var DragHandle = function DragHandle(param) { var setActivatorNodeRef = param.setActivatorNodeRef, listeners = param.listeners, attributes = param.attributes; var getStyles = (0, _CollectionContext.useCollectionContext)().getStyles; return /*#__PURE__*/ (0, _jsxruntime.jsx)("div", _object_spread_props._(_object_spread._({ ref: setActivatorNodeRef }, listeners, attributes, getStyles('dragHandle')), { children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_plasmareacticons.DragAndDropSize16Px, { height: 16 }) })); }; //# sourceMappingURL=DragHandle.js.map