DropletValuePill

The read-only value of a settings row.

@MainActor struct DropletValuePill

In a settings row, native or not, it is the value of a LabeledContent(_:value:) row: secondary text, no capsule, which is how System Settings prints a read-only value ("Wi-Fi address"). The capsule it drew until 1.9.0 is kept for the one place it still belongs: outside a settings card, where a droplet may use it as a chip of its own. Inside a card the capsule was the give-away of a pre-1.9.0 pane on the Form page.

Initializers

init(text:)

@MainActor init(text: String)

Creates a pill with its text.

Properties

body

@MainActor var body: some View { get }