add android icon font support

This commit is contained in:
王劲鹏
2020-03-13 14:22:46 +08:00
committed by osborn
parent 4359eec700
commit 73c0a5e7ab
10 changed files with 50 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ export interface IText extends IView {
maxLines?: number
textAlignment?: Gravity
fontStyle?: "normal" | "bold" | "italic" | "bold_italic"
font?: string
}
export class Text extends View implements IText {
@@ -45,6 +46,9 @@ export class Text extends View implements IText {
@Property
fontStyle?: "normal" | "bold" | "italic" | "bold_italic"
@Property
font?: string
}
export function text(config: IText) {