When you implement a custom view, you must implement a computed
body property to provide the content for your view. Return a view
that’s composed of built-in views that SwiftUI provides, plus other
composite views that you’ve already defined:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[],[],null,["# GooglePlacesSwift Framework Reference\n\nPlaceDetailsView\n================\n\n @MainActor\n @preconcurrency\n struct PlaceDetailsView\n\n extension PlaceDetailsView : Sendable, View\n\nThe view for the place details component.\n- `\n ``\n ``\n `\n\n ### [$query](#/s:17GooglePlacesSwift16PlaceDetailsViewV6$query0C2UI7BindingVyAA0dE5QueryVGvp)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n var $query: Binding\u003c../Structs/PlaceDetailsQuery.html\u003e { get }\n\n- `\n ``\n ``\n `\n\n ### [Body](#/s:17GooglePlacesSwift16PlaceDetailsViewV4Bodya)\n\n `\n ` \n The type of view representing the body of this view.\n\n When you create a custom view, Swift infers this type from your\n implementation of the required `View/body-swift.property` property. \n\n #### Declaration\n\n Swift \n\n @available(watchOS, introduced: 6.0)\n @available(macOS, introduced: 10.15)\n @available(iOS, introduced: 13.0)\n @available(tvOS, introduced: 13.0)\n typealias Body = some View\n\n- `\n ``\n ``\n `\n\n ### [allContent](#/s:17GooglePlacesSwift16PlaceDetailsViewV10allContentShyAA0deH0OGvpZ)\n\n `\n ` \n All [PlaceDetailsContent](../Enums/PlaceDetailsContent.html) types for the place details full view. \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n static let allContent: Set\u003c../Enums/PlaceDetailsContent.html\u003e\n\n- `\n ``\n ``\n `\n\n ### [body](#/s:17GooglePlacesSwift16PlaceDetailsViewV4bodyQrvp)\n\n `\n ` \n The content and behavior of the view.\n\n When you implement a custom view, you must implement a computed\n `body` property to provide the content for your view. Return a view\n that's composed of built-in views that SwiftUI provides, plus other\n composite views that you've already defined: \n\n struct MyView: View {\n var body: some View {\n Text(\"Hello, World!\")\n }\n }\n\n For more information about composing views and a view hierarchy,\n see \u003cdoc:Declaring-a-Custom-View\u003e. \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n var body: some View { get }\n\n- `\n ``\n ``\n `\n\n ### [configuration](#/s:17GooglePlacesSwift16PlaceDetailsViewV13configurationAA0dE13ConfigurationVvp)\n\n `\n ` \n The configuration of the place details full view. \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n var configuration: ../Structs/PlaceDetailsConfiguration.html\n\n- `\n ``\n ``\n `\n\n ### [init(orientation:query:configuration:placeDetailsCallback:)](#/s:17GooglePlacesSwift16PlaceDetailsViewV11orientation5query13configuration05placeE8CallbackAcA0deF11OrientationO_0C2UI7BindingVyAA0dE5QueryVGAA0dE13ConfigurationVyAA0dE6ResultCctcfc)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n init(orientation: ../Enums/PlaceDetailsViewOrientation.html = .vertical, query: Binding\u003c../Structs/PlaceDetailsQuery.html\u003e, configuration: ../Structs/PlaceDetailsConfiguration.html, placeDetailsCallback: @escaping (../Classes/PlaceDetailsResult.html) -\u003e Void)\n\n- `\n ``\n ``\n `\n\n ### [orientation](#/s:17GooglePlacesSwift16PlaceDetailsViewV11orientationAA0deF11OrientationOvp)\n\n `\n ` \n The orientation of the place details view. \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n var orientation: ../Enums/PlaceDetailsViewOrientation.html\n\n- `\n ``\n ``\n `\n\n ### [query](#/s:17GooglePlacesSwift16PlaceDetailsViewV5queryAA0dE5QueryVvp)\n\n `\n ` \n The place details component query. \n\n #### Declaration\n\n Swift \n\n @Binding\n @MainActor\n @preconcurrency\n var query: ../Structs/PlaceDetailsQuery.html { get nonmutating set }\n\n- `\n ``\n ``\n `\n\n ### [standardContent](#/s:17GooglePlacesSwift16PlaceDetailsViewV15standardContentShyAA0deH0OGvpZ)\n\n `\n ` \n The standard [PlaceDetailsContent](../Enums/PlaceDetailsContent.html) types for the place details full view. \n\n #### Declaration\n\n Swift \n\n @MainActor\n @preconcurrency\n static let standardContent: Set\u003c../Enums/PlaceDetailsContent.html\u003e"]]