ImageCardData

sealed class ImageCardData

Data model used for DHIS2 Metadata Icon component.

Parameters

uid

for item.

label

option text.

Inheritors

Types

Link copied to clipboard
data class CustomIconData(val uid: String, val label: String, val image: ImageBitmap) : ImageCardData
Link copied to clipboard
data class IconCardData(val uid: String, val label: String, val iconRes: String, val iconTint: Color) : ImageCardData

Properties

Link copied to clipboard
open val label: String
Link copied to clipboard
open val uid: String