1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 17:07:19 +02:00
Files
php-flarum/js/dist-typings/forum/components/PostMeta.d.ts
flarum-bot 3d62a6af27 Bundled output for commit d268894e61
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-12-27 19:02:33 +00:00

21 lines
624 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, undefined> {
constructor();
/**
* Get the permalink for the given post.
*
* @param {import('../../common/models/Post').default} post
* @returns {string}
*/
getPermalink(post: import('../../common/models/Post').default): string;
}
import Component from "../../common/Component";