TagStyle

public protocol TagStyle

Undocumented

  • A view that represents the body of a tag.

    Declaration

    Swift

    associatedtype Body : View
  • Creates a view that represents the body of a tag.

    The system calls this method for each Tag instance in a view hierarchy where this style is the current tag style.

    Declaration

    Swift

    func makeBody(configuration: Self.Configuration) -> Self.Body

    Parameters

    configuration

    The properties of the tag.

  • The properties of a tag.

    Declaration

    Swift

    typealias Configuration = TagStyleConfiguration