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

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

Type declaration

Generated using TypeDoc v0.24.8