import { htmlSafe } from "@ember/template"; import { registerUnbound } from "discourse-common/lib/helpers"; import { renderIcon } from "discourse-common/lib/icon-library"; export default function icon(id, options = {}) { return htmlSafe(renderIcon("string", id, options)); } registerUnbound("d-icon", icon);