Skip to content

Add a when modifier for grouping similar conditions together #75

@jverkoey

Description

@jverkoey

Something like this:

.when(.minBreakpoint(.medium)) { view in
  view
    .textColor(.black)
}

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