auth0-lock
Version:
Auth0 Lock
18 lines (16 loc) • 357 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createRef = createRef;
/**
* This is similar to React.createRef(),
* the current version of this library doesn't support it.
* @returns {function} the ref func
*/
function createRef() {
var _f = function f(element) {
_f.current = element;
};
return _f;
}