pub fn text(text: impl IntoComputed<StyledStr>) -> TextExpand description
Creates a new text component with the given content.
This is a convenience function equivalent to Text::new(text).
ยงTip
If you need formatted text, please use the text! macro instead.