mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
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;
|