Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

10 lines
159 B
JavaScript

const isDragging = {
x: false,
y: false,
};
function isDragActive() {
return isDragging.x || isDragging.y;
}
export { isDragActive, isDragging };