gbr/ui/theme/lustre/badge
GBR: UI Admin Badge Module
Types
pub type UIBadge {
UIBadge(
text: String,
size: theme.UISize,
direction: theme.UIAbsolute,
)
}
Constructors
-
UIBadge( text: String, size: theme.UISize, direction: theme.UIAbsolute, )
Values
pub fn view(
badge: UIBadge,
theme: theme.UITheme(lustre.UILustre),
a: List(attribute.Attribute(a)),
e: List(element.Element(a)),
) -> element.Element(a)
pub fn with_direction(
badge: UIBadge,
direction: theme.UIAbsolute,
) -> UIBadge