default: {
    controls(post, context) => ItemList<Children>;
    deleteAction(context) => Promise<void>;
    destructiveControls(post, context) => ItemList<Children>;
    editAction() => Promise<void>;
    hideAction() => Promise<void>;
    moderationControls(post, context) => ItemList<Children>;
    restoreAction() => Promise<void>;
    userControls(post, context) => ItemList<Children>;
}

The PostControls utility constructs a list of buttons for a post which perform actions on it.

Type declaration

Generated using TypeDoc v0.24.8