From 8144788be4b1932729060d6e10c2aaa297c3ef70 Mon Sep 17 00:00:00 2001 From: Kobi Date: Thu, 3 Jun 2021 10:54:40 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7828=20=E6=A0=B9=E6=8D=AEcomment?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/single/button/buttons/button.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/typescript/base/single/button/buttons/button.ts b/typescript/base/single/button/buttons/button.ts index 568015305..c63a6c84d 100644 --- a/typescript/base/single/button/buttons/button.ts +++ b/typescript/base/single/button/buttons/button.ts @@ -1,4 +1,4 @@ -import { IconLabel, Label } from "../../../.."; +import { AbstractLabel, IconLabel, Label } from "../../../.."; import { BasicButton } from "../button.basic"; export declare class Button extends BasicButton { @@ -7,7 +7,6 @@ export declare class Button extends BasicButton { static EVENT_CHANGE: string; props: { - text?: string; minWidth?: number; readonly?: boolean; iconCls?: string; @@ -15,11 +14,9 @@ export declare class Button extends BasicButton { block?: boolean; // 是否块状显示,即不显示边框,没有最小宽度的限制 clear?: boolean; // 是否去掉边框和背景 ghost?: boolean; // 是否幽灵显示, 即正常状态无背景 - textAlign?: 'center' | 'left' | 'right'; - whiteSpace?: 'nowrap' | 'normal', - textWidth?: number | null, - textHeight?: number | null, - } & BasicButton['props']; + highLight: boolean, + handler: Function | null, + } & AbstractLabel['props'] & IconLabel['props'] & BasicButton['props']; text: Label; icon?: IconLabel;