vico
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
vico
compose
/
com.patrykandpatrick.vico.compose.common.component
/
rememberTextComponent
remember
Text
Component
@
Composable
fun
rememberTextComponent
(
style
:
TextStyle
=
TextStyle(fontSize = Defaults.TEXT_COMPONENT_TEXT_SIZE.sp)
,
lineCount
:
Int
=
Defaults.TEXT_COMPONENT_LINE_COUNT
,
overflow
:
TextOverflow
=
TextOverflow.Ellipsis
,
margins
:
Insets
=
Insets.Zero
,
padding
:
Insets
=
Insets.Zero
,
background
:
Component
?
=
null
,
minWidth
:
TextComponent.MinWidth
=
TextComponent.MinWidth.fixed()
)
:
TextComponent
Creates and remembers a
TextComponent
.