KPIItem
Undocumented
-
Declaration
Swift
public var body: some View { get }
-
Returns a KPI item with given configuration.
Declaration
Swift
init(data: KPIItemData, subtitle: String, action: (() -> Void)? = nil)
Parameters
data
The data of the KPI item.
subtitle
The subtitle of the KPI item.
action
The action when user interacts with the KPI item.
-
Returns a KPI item with given configuration.
Declaration
Swift
init(data: KPIItemData, action: (() -> Void)? = nil)
Parameters
data
The data of the KPI item.
action
The action when user interacts with the KPI item.
-
Undocumented
Declaration
Swift
init(_ data: KPIItemData?)
-
Undocumented
Declaration
Swift
public init(model: KPIItemModel)
-
Undocumented
Declaration
Swift
public init(kpi: String? = nil, subtitle: String? = nil)
-
Undocumented
Declaration
Swift
public init( @ViewBuilder subtitle: () -> Subtitle )
-
Undocumented
Declaration
Swift
public init( @ViewBuilder kpi: () -> Kpi )