buildBlock(_:)
Creates a builder with a block.
Declaration
@export(implementation) static func buildBlock<each P>(_ components: repeat each P) -> Prompt where repeat each P : PromptRepresentableCreates a builder with a block.
@export(implementation) static func buildBlock<each P>(_ components: repeat each P) -> Prompt where repeat each P : PromptRepresentable