Variable UserControlsConst

UserControls: {
    controls(user, context) => ItemList<Children>;
    deleteAction(user) => void;
    destructiveControls(user) => ItemList<Children>;
    editAction(user) => void;
    moderationControls(user) => ItemList<Children>;
    showDeletionAlert(user, type) => void;
    userControls() => ItemList<Children>;
} = ...

The UserControls utility constructs a list of buttons for a user which perform actions on it.

Type declaration

Generated using TypeDoc v0.24.8