Options
All
  • Public
  • Public/Protected
  • All
Menu

Properties for the PostHeader component.

internal

Hierarchy

  • PostHeaderProps

Index

Properties

community

community: string

Community that the post belongs to.

host

host: string

Host the post exists on.

id

id: string

ID of the post.

Optional isPreview

isPreview: boolean

Indicates whether the post is being used as a preview.

onToggleEdit

onToggleEdit: () => void

Function to be called when the edit button is clicked.

Type declaration

    • (): void
    • Returns void

Optional parent

parent: string

ID of the parent if this is the header of a comment.

Optional title

title: string

Title of the post. This is undefined for comments.

username

username: string

Author of the post.

Generated using TypeDoc