It's called USB-C port control and that's one of the key features. See https://grapheneos.org/features#usb-c-port-and-pogo-pins-control
You can modify the System UI notification settings for this:
Settings > Notifications > App settings > Menu > Show system > System UI > Storage > Silent < Default + Pop up on screen.
Dan-cer In GrapheneOS - at least for me - no popup appears.
Note:
We replaced our previous USB peripheral control feature with an overall USB-C port control is that a significant portion of the attack surface remained accessible through the USB-C and USB protocols, even without allowing peripherals.
For future reference, if you wish to submit an enhancement feature request, please use the os-issue-tracker. However, it's best to first search through previously submitted issues to avoid duplicates. Keep in mind that there are many priorities in que already.