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;