feat:add Text lineSpacing

This commit is contained in:
pengfei.zhou
2020-03-24 11:06:30 +08:00
committed by osborn
parent a25aedcc6f
commit 0cfbef67a2
12 changed files with 75 additions and 5 deletions

2
doric-js/index.d.ts vendored
View File

@@ -474,6 +474,7 @@ declare module 'doric/lib/src/widget/text' {
font?: string;
maxWidth?: number;
maxHeight?: number;
lineSpacing?: number;
}
export class Text extends View implements IText {
text?: string;
@@ -485,6 +486,7 @@ declare module 'doric/lib/src/widget/text' {
font?: string;
maxWidth?: number;
maxHeight?: number;
lineSpacing?: number;
}
export function text(config: IText): Text;
}