rememberTextComponent

fun rememberTextComponent(color: Color = Color.Black, typeface: Typeface = Typeface.DEFAULT, textSize: TextUnit = Defaults.TEXT_COMPONENT_TEXT_SIZE.sp, textAlignment: Layout.Alignment = Layout.Alignment.ALIGN_NORMAL, lineCount: Int = Defaults.TEXT_COMPONENT_LINE_COUNT, truncateAt: TextUtils.TruncateAt = TextUtils.TruncateAt.END, margins: Dimensions = Dimensions.Empty, padding: Dimensions = Dimensions.Empty, background: Component? = null, minWidth: TextComponent.MinWidth = TextComponent.MinWidth.fixed()): TextComponent

Creates and remembers a TextComponent.