import { library, icon } from "@fortawesome/fontawesome-svg-core";
export function getIconHtmlFromIconDefinition(iconDefinition) {
    let faIcon;
    library.add(iconDefinition);
    faIcon = icon(iconDefinition);
    return faIcon ? faIcon.html[0] : null;
}
//# sourceMappingURL=getIconHtmlFromIconDefinition.js.map
