How to use the @fortawesome/fontawesome-svg-core.toHtml function in @fortawesome/fontawesome-svg-core

To help you get started, we’ve selected a few @fortawesome/fontawesome-svg-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FortAwesome / ember-fontawesome / addon / components / fa-icon.js View on Github external
newHtml = htmlSafe(abstractIcon.children.reduce((acc,cur) => {
        return `${acc}${toHtml(cur)}`
      },''))
    }
github FortAwesome / ember-fontawesome / addon / components / fa-icon.js View on Github external
newHtml = htmlSafe(children.reduce((acc,cur) => {
        return `${acc}${toHtml(cur)}`
      },''))
    }