Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-positioning/lib-commonjs/hooks/useSafeZoneArea/pointsToSvgPath.js

18 lines
385 B
JavaScript

/**
* Calculates the corners of a rectangle based on its DOMRect and an offset.
*
* @internal
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "pointsToSvgPath", {
enumerable: true,
get: function() {
return pointsToSvgPath;
}
});
function pointsToSvgPath(points) {
return `M ${points} z`;
}