discourse/app/assets/javascripts/discourse-common/helpers/d-icon.js.es6

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
252 B
Plaintext
Raw Normal View History

import { registerUnbound } from "discourse-common/lib/helpers";
import { renderIcon } from "discourse-common/lib/icon-library";
registerUnbound("d-icon", function(id, params) {
return new Handlebars.SafeString(renderIcon("string", id, params));
});