Newer
Older
alert / js / node_modules / flarum / common / helpers / avatar.d.ts
@Réz István Réz István on 18 Nov 2021 279 bytes first commit
import * as Mithril from 'mithril';
import User from '../models/User';
/**
 * The `avatar` helper displays a user's avatar.
 *
 * @param user
 * @param attrs Attributes to apply to the avatar element
 */
export default function avatar(user: User, attrs?: Object): Mithril.Vnode;