@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
12 lines • 541 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getJetpackProductFAQs = getJetpackProductFAQs;
const translations_1 = require("./translations");
/**
* Get Jetpack product "FAQs" info based on the product slug.
*/
function getJetpackProductFAQs(product_slug, getHelpLink, getSupportLink) {
const jetpackProductsFAQsInfo = (0, translations_1.getJetpackProductsFAQs)(getHelpLink, getSupportLink);
return jetpackProductsFAQsInfo[product_slug];
}
//# sourceMappingURL=get-jetpack-product-faqs.js.map