Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Add handlers to the group-component #5

@mattesmohr

Description

@mattesmohr

Add handlers to the group-component, wich influence the children within, so you don't have to write the same property handler for each children, for example:

good:

Symbol(name: "folder-fill")
    .foregroundColor(.yellow)
Text {
    "Text"
}
.foregroundColor(.yellow)

better:

Group {
    Symbol(name: "folder-fill")
    Text {
        "Text"
    }
}
.foregroundColor(.yellow)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions