From 20184e51e22863d257ef8f14bb18e96d01535a55 Mon Sep 17 00:00:00 2001 From: Kira Date: Tue, 1 Jun 2021 15:59:42 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7826=20refactor:=20=E8=A1=A5=E5=85=85pro?= =?UTF-8?q?ps=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/single/button/buttons/button.icon.ts | 5 +++++ typescript/case/button/icon/icon.change.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/typescript/base/single/button/buttons/button.icon.ts b/typescript/base/single/button/buttons/button.icon.ts index 035657bdb..d3d6817e1 100644 --- a/typescript/base/single/button/buttons/button.icon.ts +++ b/typescript/base/single/button/buttons/button.icon.ts @@ -3,4 +3,9 @@ import { BasicButton } from "../button.basic"; export declare class IconButton extends BasicButton { static xtype: string; static EVENT_CHANGE: string; + + props: { + iconWidth: number; + iconHeight: number; + } & BasicButton['props'] } diff --git a/typescript/case/button/icon/icon.change.ts b/typescript/case/button/icon/icon.change.ts index 3e134140a..717273487 100644 --- a/typescript/case/button/icon/icon.change.ts +++ b/typescript/case/button/icon/icon.change.ts @@ -1,9 +1,14 @@ +import { IconButton } from "../../../base/single/button/buttons/button.icon"; import { Single } from "../../../base/single/single"; export declare class IconChangeButton extends Single { static xtype: string; static EVENT_CHANGE: string; + props: { + iconCls: string; + } & IconButton['props'] + isSelected(): boolean; setSelected(v: boolean): void;