DiscussionControls: {
    controls(discussion: Discussion, context: Component<any, any>): ItemList<Children>;
    deleteAction(): Promise<void>;
    destructiveControls(discussion: Discussion): ItemList<Children>;
    hideAction(): Promise<void>;
    moderationControls(discussion: Discussion): ItemList<Children>;
    renameAction(): any;
    replyAction(goToLast: boolean, forceRefresh: boolean): Promise<void>;
    restoreAction(): Promise<void>;
    userControls(discussion: Discussion, context: Component<any, any>): ItemList<Children>;
}

The DiscussionControls utility constructs a list of buttons for a discussion which perform actions on it.

Type declaration

Generated using TypeDoc v0.23.24