"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setRef = void 0;
function setRef(ref, value) {
    if (typeof ref === 'function') {
        ref(value);
    }
    else if (ref) {
        /* eslint-disable no-param-reassign */
        ref.current = value;
        /* eslint-enable */
    }
}
exports.setRef = setRef;

//# sourceMappingURL=set-ref.js.map
