ProxyElement

public protocol ProxyElement : Element

Custom elements commonly use another element to actually display content. For example, a profile element might display an image and a few labels inside a Column element. The ProxyElement protocol is provided to make that task easier.

Conforming types only need to implement elementRepresentation in order to generate an element that will be displayed.