Files
discord-decomp/modules/stickers/native/StickerPackBanner.tsx
T
2026-11-01 12:12:55 +02:00

13 lines
534 B
TypeScript

// Metro module 9632 (f9633).
import { Image as Image2, View } from "react-native";
import { getStickerPackBannerAssetUrl } from "../StickersUtils";
export default function StickerPackBanner(props) {
const { containerStyle, style } = props;
const stickerPackBannerAssetUrl = getStickerPackBannerAssetUrl(props.stickerPack, 1024);
return stickerPackBannerAssetUrl != null ? <View style={containerStyle}>
<Image2 source={{
uri: stickerPackBannerAssetUrl
}} style={style} resizeMode="contain" />
</View> : null;
};