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

10 lines
279 B
TypeScript
Raw Normal View History

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;