PhotosPicker(selection: $selected, matching: .images, photoLibrary: .shared()) { Text("Select a photo") }
   .buttonStyle(.borderedProminent)
   .photosPickerStyle(.inline)
   .photosPickerDisabledCapabilities([.selectionActions])
   .frame(height: 300)