framework/js/dist-typings/common/helpers/icon.d.ts

9 lines
296 B
TypeScript
Raw Normal View History

import * as Mithril from 'mithril';
/**
* The `icon` helper displays an icon.
*
* @param fontClass The full icon class, prefix and the icons name.
* @param attrs Any other attributes to apply.
*/
export default function icon(fontClass: string, attrs?: Mithril.Attributes): Mithril.Vnode;