31 lines
1.4 KiB
TypeScript
31 lines
1.4 KiB
TypeScript
// Module ID: 15488
|
|
// Function ID: 15489
|
|
// Name: GuildThemeNuxPreviewGraphic
|
|
// Dependencies: [19, 17, 21, 4668, 712, 15489, 2]
|
|
// Exports: default
|
|
|
|
// Module 15488 (GuildThemeNuxPreviewGraphic)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import PreviewOverlayDefault from "PreviewOverlay" /* 15489 */;
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4668 */;
|
|
|
|
noopAll;
|
|
createCacheKey = { container: null };
|
|
createCacheKey = { width: "100%", aspectRatio: 1.7777777777777777, alignItems: "center", justifyContent: "center", marginBottom: ThemesDefault.space.PX_24 };
|
|
createCacheKey[0] = createCacheKey;
|
|
let closure_4 = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("set").fileFinishedImporting("modules/guild_themes/native/GuildThemeNuxPreviewGraphic.tsx");
|
|
|
|
export default function GuildThemeNuxPreviewGraphic(arg0) {
|
|
({ themeSettings, isPersonal } = arg0);
|
|
const obj = { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: callback().container, children: null };
|
|
let tmp4 = null;
|
|
if (!isPersonal) {
|
|
tmp4 = themeSettings;
|
|
}
|
|
obj[3] = jsx(PreviewOverlayDefault, { themeSettings: tmp4 });
|
|
return <View accessibilityElementsHidden importantForAccessibility="no-hide-descendants" style={callback().container}>{null}</View>;
|
|
};
|