decord/source/modules/stickers/native/StickerPickerStore.tsx
2026-08-13 07:00:46 +00:00

31 lines
839 B
TypeScript

// Module ID: 10004
// Function ID: 10005
// Name: useStickerPickerStore
// Dependencies: [644, 705, 2]
// Module 10004 (useStickerPickerStore)
import keys from "keys";
let obj = keys.create((arg0) => {
let closure_0 = arg0;
return {
packToScrollTo: null,
setPackToScrollTo(pack_id) {
const callback = pack_id;
return callback(outer1_1[1]).batchUpdates(() => {
pack_id((packToScrollTo) => {
let tmp = packToScrollTo;
if (packToScrollTo.packToScrollTo !== closure_0) {
const obj = { packToScrollTo: null };
obj[0] = tmp2;
tmp = obj;
}
return tmp;
});
});
}
};
});
const result = require("set").fileFinishedImporting("modules/stickers/native/StickerPickerStore.tsx");
export const useStickerPickerStore = obj;