Skip to content

Documentation / @ripl/core / createText

Function: createText() ​

createText(...options): Text

Defined in: packages/core/src/elements/text.ts:124

Factory function that creates a new Text instance.

Parameters ​

ParameterType
...options[ElementOptions<TextState>]

Returns ​

Text