mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
33 lines
1.3 KiB
JavaScript
33 lines
1.3 KiB
JavaScript
self.push({
|
|
9111: (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
/* harmony export */
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */
|
|
"F": function () {
|
|
return /* binding */ composeRefs;
|
|
},
|
|
/* harmony export */
|
|
"e": function () {
|
|
return /* binding */ useComposedRefs;
|
|
}
|
|
/* harmony export */
|
|
});
|
|
/* harmony import */
|
|
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27378);
|
|
|
|
function composeRefs(...o) {
|
|
return e => o.forEach((o => function (o, e) {
|
|
"function" == typeof o ? o(e) : null != o && (o.current = e)
|
|
}(o, e)))
|
|
}
|
|
|
|
function useComposedRefs(...e) {
|
|
return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(composeRefs(...e), e)
|
|
}
|
|
//# sourceMappingURL=index.module.js.map
|
|
|
|
|
|
/***/
|
|
})
|
|
}) |