1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 01:46:35 +02:00

Bundled output for commit bac0e594ee

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-11-11 19:21:56 +00:00
parent bac0e594ee
commit ec5214f714
33 changed files with 334 additions and 133 deletions

View File

@@ -1,9 +1,12 @@
import type Mithril from 'mithril';
import type { ComponentAttrs } from '../Component';
import User from '../models/User';
export interface AvatarAttrs extends ComponentAttrs {
}
/**
* 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;
export default function avatar(user: User, attrs?: ComponentAttrs): Mithril.Vnode;