16 lines
615 B
TypeScript
16 lines
615 B
TypeScript
// Module ID: 13989
|
|
// Function ID: 107029
|
|
// Name: getBountyCtaInfo
|
|
// Dependencies: [1212, 2]
|
|
// Exports: getBountyCtaInfo
|
|
|
|
// Module 13989 (getBountyCtaInfo)
|
|
const result = require("set").fileFinishedImporting("modules/quests/native/BountiesModal/BountyCtaHelpers.tsx");
|
|
|
|
export const getBountyCtaInfo = function getBountyCtaInfo(bounty) {
|
|
const obj = { label: bounty.productName, subtext: bounty.cta.buttonLabel };
|
|
const intl = require(1212) /* getSystemLocale */.intl;
|
|
obj.buttonLabel = intl.string(require(1212) /* getSystemLocale */.t.LLLLPD);
|
|
obj.iconImageUri = bounty.productIcon;
|
|
return obj;
|
|
};
|