Badge

class Badge(val count: Int? = null) : OudsComponentContent<Nothing>

A badge in an OudsNavigationBarItem.

See also

Constructors

Link copied to clipboard
constructor(count: Int? = null)

Properties

Link copied to clipboard
val count: Int? = null

Optional number displayed in the badge. If not null, the badge has an OudsBadgeSize.Medium size. Otherwise, it has an OudsBadgeSize.Small size.