mithril-materialized
Version:
A materialize library for mithril.
12 lines (11 loc) • 424 B
TypeScript
import { FactoryComponent, Attributes } from 'mithril';
export interface IMaterialIcon extends Attributes {
iconName: string;
}
/**
* A simple material icon, defined by its icon name.
*
* @example m(Icon, { className: 'small' }, 'create') renders a small 'create' icon
* @example m(Icon, { className: 'prefix' }, iconName) renders the icon as a prefix
*/
export declare const Icon: FactoryComponent<IMaterialIcon>;