Skip to content

Function: textRun() ​

textRun(text, options?): TextProps

Factory for a single inline text run. Prevents as never casts when building mixed-style run arrays.

Parameters ​

ParameterType
textstring | number
options?TextPropsOptions

Returns ​

TextProps