How to turn off NameDrop in iOS 17

How to turn off NameDrop in iOS 17 so you have more control over your iPhone’s file sharing.