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

31 lines
816 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 9561
// Function ID: 74648
2026-07-20 16:05:17 +00:00
// Name: useStickerPickerStore
2026-07-23 10:11:24 +00:00
// Dependencies: [621, 682, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 9561 (useStickerPickerStore)
2026-07-23 10:11:24 +00:00
import keys from "keys";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
let obj = keys.create((arg0) => {
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
return {
packToScrollTo: null,
2026-07-23 10:11:24 +00:00
setPackToScrollTo(outer1_3) {
const callback = outer1_3;
return callback(outer1_1[1]).batchUpdates(() => {
outer1_3((packToScrollTo) => {
2026-07-20 16:05:17 +00:00
let tmp = packToScrollTo;
2026-07-23 10:11:24 +00:00
if (packToScrollTo.packToScrollTo !== outer1_0) {
const obj = { packToScrollTo: outer1_0 };
2026-07-20 16:05:17 +00:00
tmp = obj;
}
return tmp;
});
});
}
};
});
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/stickers/native/StickerPickerStore.tsx");
export const useStickerPickerStore = obj;