UNPKG

@activecollab/components

Version:

ActiveCollab Components

14 lines (13 loc) 272 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = setRef; function setRef(ref, value) { if (typeof ref === "function") { ref(value); } else if (ref) { ref.current = value; } } //# sourceMappingURL=setRef.js.map