Browse Source

KERNEL-7828 补充一下类型定义

es6
Kobi 4 years ago
parent
commit
04c0697e2d
  1. 9
      typescript/base/single/text.ts

9
typescript/base/single/text.ts

@ -3,6 +3,15 @@ import { Single } from "./single";
export declare class Text extends Single {
static xtype: string;
props: {
text?: string;
textAlign?: "left" | "center" | "right",
whiteSpace?: "nowrap" | "normal",
lineHeight?: null | number;
py?: string;
highLight?: boolean;
} & Single['props'];
doRedMark(keyword: string): void;
unRedMark(): void;

Loading…
Cancel
Save