PlaceDetailsConfiguration
struct PlaceDetailsConfiguration
extension PlaceDetailsConfiguration : Sendable
Configuration for the Place Details widget.
-
The content to display in the component.
Declaration
Swift
let content: Set<PlaceDetailsContent>
-
Declaration
Swift
init(content: Set<PlaceDetailsContent>, preferTruncation: Bool = false, theme: PlacesMaterialTheme)
-
Whether to truncate the content if it does not fit in the component.
Declaration
Swift
var preferTruncation: Bool
-
The theme to use for the component.
Declaration
Swift
let theme: PlacesMaterialTheme