mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
build
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.useLazyRef = void 0;
|
||||
var _react = require("react");
|
||||
const useLazyRef = init => {
|
||||
const [ret] = (0, _react.useState)(init);
|
||||
return ret;
|
||||
};
|
||||
exports.useLazyRef = useLazyRef;
|
||||
//# sourceMappingURL=lazy-ref.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["_react","require","useLazyRef","init","ret","useState","exports"],"sourceRoot":"../../../src","sources":["utils/lazy-ref.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAOC,IAAa,IAAQ;EAClD,MAAM,CAACC,GAAG,CAAC,GAAG,IAAAC,eAAQ,EAAIF,IAAI,CAAC;EAC/B,OAAOC,GAAG;AACX,CAAC;AAACE,OAAA,CAAAJ,UAAA,GAAAA,UAAA","ignoreList":[]}
|
||||
Reference in New Issue
Block a user