mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
21 lines
536 B
TypeScript
21 lines
536 B
TypeScript
/**
|
|
* The `PostMeta` component displays the time of a post, and when clicked, shows
|
|
* a dropdown containing more information about the post (number, full time,
|
|
* permalink).
|
|
*
|
|
* ### Attrs
|
|
*
|
|
* - `post`
|
|
*/
|
|
export default class PostMeta extends Component<import("../../common/Component").ComponentAttrs> {
|
|
constructor();
|
|
/**
|
|
* Get the permalink for the given post.
|
|
*
|
|
* @param {Post} post
|
|
* @returns {String}
|
|
*/
|
|
getPermalink(post: any): string;
|
|
}
|
|
import Component from "../../common/Component";
|