1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 18:51:40 +02:00
Files
php-flarum/js/dist-typings/forum/components/PostUser.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

20 lines
415 B
TypeScript

/**
* The `PostUser` component shows the avatar and username of a post's author.
*
* ### Attrs
*
* - `post`
*/
export default class PostUser extends Component<import("../../common/Component").ComponentAttrs> {
constructor();
/**
* Show the user card.
*/
showCard(): void;
/**
* Hide the user card.
*/
hideCard(): void;
}
import Component from "../../common/Component";