decord/source/__polyfill/06xxx/module_6925.js
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

37 lines
964 B
JavaScript

// Module ID: 6925
// Function ID: 6926
// Dependencies: [6907, 19, 6926]
// Exports: useLayoutState
// Module 6925
import _mod6926 from "module_6926" /* 6926 */;
import _slicedToArray from "module_6907" /* 6907 */;
require = fn;
const noop = fn(19);
({ useState: c3, useCallback: closure_4 } = noop);
export const useLayoutState = function useLayoutState(arg0) {
const tmp = _slicedToArray(React3(arg0), 2);
closure_0 = tmp[1];
const recyclerViewContext = _mod6926.useRecyclerViewContext();
const items = [tmp[0], ];
const items1 = [recyclerViewContext];
items[1] = React4((arg0, arg1) => {
closure_0 = arg0;
closure_0((arg0) => {
let tmpResult = closure_0;
if (typeof closure_0 === "function") {
tmpResult = tmp(arg0);
}
return tmpResult;
});
if (!arg1) {
if (recyclerViewContext != null) {
obj.layout();
}
obj = recyclerViewContext;
}
}, items1);
return items;
};