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

DiscussionRenamedPost

Extends:

flarum/components/EventPost~EventPost → DiscussionRenamedPost

The DiscussionRenamedPost component displays a discussion event post indicating that the discussion has been renamed.

Props

  • All of the props for EventPost

Method Summary

Public Methods
public

description(data: *): *

public

descriptionData(): {"old": *, "new": *}

public

Public Methods

public description(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public descriptionData(): {"old": *, "new": *} source

Return:

{"old": *, "new": *}

public icon(): string source

Return:

string