Reference Source
import PostPreview from 'flarum/components/PostPreview.js'
public class | source

PostPreview

Extends:

flarum/Component~Component → PostPreview

The PostPreview component shows a link to a post containing the avatar and username of the author, and a short excerpt of the post's content.

Props

  • post

Method Summary

Public Methods
public

view(): *

Public Methods

public view(): * source

Return:

*