How to use the feather-icons/dist/feather.replace function in feather-icons

To help you get started, we’ve selected a few feather-icons 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 rubyforgood / circulate / app / javascript / packs / application.js View on Github external
document.addEventListener("turbolinks:load", function() {
  feather.replace({
    width: 20,
    height: 20,
    class: "feather-icon",
  });
})

feather-icons

Simply beautiful open source icons

MIT
Latest version published 8 months ago

Package Health Score

75 / 100
Full package analysis

Similar packages