diff --git a/typescript/base/single/text.ts b/typescript/base/single/text.ts index 518eb13f7..0597021ee 100644 --- a/typescript/base/single/text.ts +++ b/typescript/base/single/text.ts @@ -3,6 +3,10 @@ import { Single } from "./single"; export declare class Text extends Single { static xtype: string; + static addTextFormatter: (fn: (str: string) => string) => void; + + static formatText: (str: string) => string; + props: { text?: string; textAlign?: "left" | "center" | "right",