42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
// Module ID: 11546
|
|
// Function ID: 89903
|
|
// Name: GuildPowerupsImage
|
|
// Dependencies: [0, 0, 0, 0, 0, 0, 0, 0]
|
|
// Exports: default
|
|
|
|
// Module 11546 (GuildPowerupsImage)
|
|
import closure_3 from "__exportStarResult1";
|
|
import { jsx } from "__exportStarResult1";
|
|
import __exportStarResult1 from "__exportStarResult1";
|
|
import __exportStarResult1 from "__exportStarResult1";
|
|
|
|
let closure_5 = __exportStarResult1.createStyles({ image: {} });
|
|
const result = __exportStarResult1.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsImage.tsx");
|
|
|
|
export default function GuildPowerupsImage(style) {
|
|
let imageUrl;
|
|
let isAnimated;
|
|
({ imageUrl, isAnimated } = style);
|
|
if (isAnimated === undefined) {
|
|
isAnimated = true;
|
|
}
|
|
style = style.style;
|
|
const tmp = callback();
|
|
let obj = arg1(dependencyMap[3]);
|
|
const items = [closure_3];
|
|
const stateFromStores = obj.useStateFromStores(items, () => useReducedMotion.useReducedMotion);
|
|
if (obj2.isAndroid()) {
|
|
if (isAnimated) {
|
|
if (!stateFromStores) {
|
|
obj = {};
|
|
const items1 = [tmp.image, style];
|
|
obj.style = items1;
|
|
obj.url = imageUrl;
|
|
let tmp6 = jsx(importDefault(dependencyMap[5]), obj);
|
|
}
|
|
return tmp6;
|
|
}
|
|
}
|
|
const items2 = [tmp.image, style];
|
|
tmp6 = jsx(importDefault(dependencyMap[6]), { style: items2, source: { uri: imageUrl } });
|
|
};
|