motion-dom
Version:
11 lines (8 loc) • 326 B
JavaScript
import { addToScope } from '../scope/active.mjs';
import { resizeElement } from './handle-element.mjs';
import { resizeWindow } from './handle-window.mjs';
function resize(a, b) {
return addToScope(typeof a === "function" ? resizeWindow(a) : resizeElement(a, b));
}
export { resize };
//# sourceMappingURL=index.mjs.map