1 export default function loadCss(id: string, loc: string) {
2 if (!document.getElementById(id)) {
3 var head = document.getElementsByTagName("head")[0];
4 var link = document.createElement("link");
6 link.rel = "stylesheet";
7 link.type = "text/css";
10 head.appendChild(link);