mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
9 lines
296 B
TypeScript
9 lines
296 B
TypeScript
|
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;
|