UNPKG

@activecollab/components

Version:

ActiveCollab Components

8 lines 181 B
export default function setRef(ref, value) { if (typeof ref === "function") { ref(value); } else if (ref) { ref.current = value; } } //# sourceMappingURL=setRef.js.map