<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Setting`](Setting) › [`addText`](Setting/addText) ## Setting.addText() method 0.9.7 **Signature:** ```typescript addText(cb: (component: TextComponent) => any): this; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>cb</code> | <code>(component: </code>[`TextComponent`](TextComponent)<code>) =&gt; any</code> | | **Returns:** `this`