|
|
@ -8,14 +8,14 @@ export declare class Text extends Single { |
|
|
|
static formatText: (str: string) => string; |
|
|
|
static formatText: (str: string) => string; |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
text?: string; |
|
|
|
text?: string | ((context: any) => string); |
|
|
|
textAlign?: "left" | "center" | "right", |
|
|
|
textAlign?: "left" | "center" | "right", |
|
|
|
whiteSpace?: "nowrap" | "normal", |
|
|
|
whiteSpace?: "nowrap" | "normal", |
|
|
|
lineHeight?: null | number; |
|
|
|
lineHeight?: null | number; |
|
|
|
py?: string; |
|
|
|
py?: string; |
|
|
|
highLight?: boolean; |
|
|
|
highLight?: boolean; |
|
|
|
maxWidth?: null | number; |
|
|
|
maxWidth?: null | number; |
|
|
|
} & Single['props']; |
|
|
|
} & Single["props"]; |
|
|
|
|
|
|
|
|
|
|
|
doRedMark(keyword: string): void; |
|
|
|
doRedMark(keyword: string): void; |
|
|
|
|
|
|
|
|
|
|
|