textStyle

fun TextAtom.textStyle(fontFamily: FontFamily): TextStyle

Creates a compose TextStyle from the TextAtom

Return

returns a compose TextStyle

Parameters

fontFamily

the FontFamily that can be passed in from the platform code


val TextAtom.textStyle: TextStyle

Creates a compose TextStyle from the TextAtom

Uses the default FontFamily from the atom

Return

returns a compose TextStyle