Skip to main content

Text

Function Text 

Source
pub fn Text(text: impl Into<String>) -> TextScope
Expand description

Text. Compose’s Text.

type_role alone takes the design system’s size, weight, line height and letter spacing; each other style method overrides one axis of it.