KeyValueItem

public struct KeyValueItem
extension KeyValueItem: View
extension KeyValueItem: _ViewEmptyChecking

KeyValueItem provides a customizable activity item with a key and a value.

Usage

KeyValueItem(key: {
        Text("key 1")
    }, value: {
        Text("value 1")
    }, axis: .vertical)