Newer
Older
alert / js / node_modules / flarum / common / helpers / icon.d.ts
@Réz István Réz István on 18 Nov 2021 296 bytes first commit
import * as Mithril from 'mithril';
/**
 * The `icon` helper displays an icon.
 *
 * @param fontClass The full icon class, prefix and the icon’s name.
 * @param attrs Any other attributes to apply.
 */
export default function icon(fontClass: string, attrs?: Mithril.Attributes): Mithril.Vnode;