'use strict';

var loadGoogleFonts = function loadGoogleFonts(fontFamilies) {
  fontFamilies.forEach(function (fontFamily) {
    var link = document.createElement("link");
    link.href = "https://fonts.googleapis.com/css2?family=".concat(fontFamily);
    link.rel = "stylesheet";
    document.head.appendChild(link);
  });
};

exports.loadGoogleFonts = loadGoogleFonts;
//# sourceMappingURL=loadGoogleFonts.js.map
