-
public final class RoleBadgeKt
-
-
Method Summary
-
-
Method Detail
-
RoleBadge
@Composable() final static Unit RoleBadge(String text, Color backgroundColor, Color textColor, Modifier modifier)
A pill-shaped badge used to display a short label, such as a member role.
Provide the colors for the desired style, for example a primary (brand) color pair for an owner badge and a neutral color pair for other roles.
- Parameters:
text- The label to display inside the badge.backgroundColor- The badge background color.textColor- The color of the text.modifier- The Modifier to be applied to this badge.
-
-
-
-