18 lines
695 B
JavaScript
18 lines
695 B
JavaScript
define(["require", "exports", "../../Utilities", "../../Styling"], function (require, exports, Utilities_1, Styling_1) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getClassNames = void 0;
|
|
exports.getClassNames = (0, Utilities_1.memoizeFunction)(function (className, isDragging) {
|
|
return {
|
|
root: (0, Styling_1.mergeStyles)(className, isDragging && {
|
|
touchAction: 'none',
|
|
selectors: {
|
|
'& *': {
|
|
userSelect: 'none',
|
|
},
|
|
},
|
|
}),
|
|
};
|
|
});
|
|
});
|
|
//# sourceMappingURL=DraggableZone.styles.js.map
|