@qvant/qui-max
Version:
A Vue 3 Design system for Web.
12 lines (11 loc) • 305 B
JavaScript
var hash = {
start: "end",
end: "start"
};
function getOppositeVariationPlacement(placement) {
return placement.replace(/start|end/g, function(matched) {
return hash[matched];
});
}
export { getOppositeVariationPlacement as default };
//# sourceMappingURL=getOppositeVariationPlacement.js.map