UNPKG

auth0-lock

Version:
18 lines (16 loc) 357 B
"use strict"; 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; }