const material_icon = (name) => { if (typeof(name) !== "string") { throw new TypeError("Name of the icon must be string."); } const target = document.createElement("span"); target.classList.add("material-symbols-outlined"); target.innerText = name; return target; }; export { material_icon };