vico icon indicating copy to clipboard operation
vico copied to clipboard

Expose TextComponent functions which accept androidx.compose.ui.text.TextStyle

Open kevincianfarini opened this issue 10 months ago • 7 comments

The functions rememberTextComponent and rememberAxisLabelComponent now both accept a TextStyle that dictates the text's color, size, and font. Previously, these functions accepted three parameters for these values. This was awkward for Compose callers, particularly for the android.graphics.Typeface value.

kevincianfarini avatar Apr 08 '24 16:04 kevincianfarini