Add support to hide List View Command Set buttons
In the classic experience it's possible to hide ribbon buttons and menu options in the ECB. In the modern UI this currently isn't possible.
Please add support to also hide OOTB List View Command Set buttons and ECB items in the modern UI.
In the Classic view this could be done by a Custom Action:
<CommandUIDefinition Location="Ribbon.Library.Actions.ExportToSpreadsheet" />
But this currently doesn't work for the Modern UI.