decord/source/modules/stickers/native/StickerPickerStore.tsx

29 lines
816 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 9595
// Function ID: 74782
2026-07-20 16:05:17 +00:00
// Name: useStickerPickerStore
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 9595 (useStickerPickerStore)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
const _module1 = require(dependencyMap[2]);
const result = _module1.fileFinishedImporting("modules/stickers/native/StickerPickerStore.tsx");
export const useStickerPickerStore = _module.create((arg0) => {
const require = arg0;
return {
packToScrollTo: null,
setPackToScrollTo(closure_3) {
return closure_3(closure_1[1]).batchUpdates(() => {
arg0((packToScrollTo) => {
let tmp = packToScrollTo;
if (packToScrollTo.packToScrollTo !== closure_0) {
const obj = { packToScrollTo: closure_0 };
tmp = obj;
}
return tmp;
});
});
}
};
});