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

13 lines
679 B
TypeScript

// Metro module 8714 (f8715).
import { EXTERNAL_PRODUCT_SKU_IDS } from "../CollectiblesShopConstants";
import { NitroCoinSpotIllustration, NitroCoinStackSpotIllustration } from "../../../design/assets/native";
export const FRACTIONAL_NITRO_COIN_SIZE = {
CARD: 80,
CHECKOUT: 45,
COLLECTED_SHEET: 68
};
export function FractionalNitroCoinIllustration(props) {
const { skuId, width, height, resizeMode = "contain" } = props;
return skuId === EXTERNAL_PRODUCT_SKU_IDS.FRACTIONAL_PREMIUM_1_DAY ? <NitroCoinSpotIllustration width={width} height={height} resizeMode={resizeMode} /> : <NitroCoinStackSpotIllustration width={width} height={height} resizeMode={resizeMode} />;
}