mirror of
https://github.com/flarum/core.git
synced 2025-07-23 17:51:24 +02:00
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
import type 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;
|