Hierarchy

  • PostTypes

Implements

Constructors

Properties

Methods

Constructors

Properties

postComponents: Record<string, any> = {}

Methods

  • Register a new post component type. Usually used for event posts.

    Parameters

    • name: string

      The name of the post type.

    • component: any

      The component class to render the post.

    Returns PostTypes

Generated using TypeDoc v0.23.24