How do you set UICollectionView context menu to use .compact presentation?

When implementing the collectionView(_, contextMenuConfigurationForItemAt, point) in the UICollectionView delegate, how to specify that the menu should appear in the UIContextMenuInteractionAppearance.compact as the Files app does in iOS 14?

And a followup question: how do I display a submenu from said compact menu when using a collection view?
How do you set UICollectionView context menu to use .compact presentation?
 
 
Q