mirror of
https://github.com/flarum/core.git
synced 2025-05-14 11:25:22 +02:00
20 lines
426 B
TypeScript
20 lines
426 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, undefined> {
|
|
constructor();
|
|
/**
|
|
* Show the user card.
|
|
*/
|
|
showCard(): void;
|
|
/**
|
|
* Hide the user card.
|
|
*/
|
|
hideCard(): void;
|
|
}
|
|
import Component from "../../common/Component";
|