init(label:description:actions:)
Creates an interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users.
Declaration
nonisolated init(@ContentBuilder label: () -> Label, @ContentBuilder description: () -> Description = { EmptyView() }, @ContentBuilder actions: () -> Actions = { EmptyView() })Parameters
- label:
The label that describes the view.
- description:
The view that describes the interface.
- actions:
The content of the interface actions.