diff --git a/typescript/base/single/button/buttons/button.icon.ts b/typescript/base/single/button/buttons/button.icon.ts new file mode 100644 index 0000000000..c4e6c5da7d --- /dev/null +++ b/typescript/base/single/button/buttons/button.icon.ts @@ -0,0 +1,5 @@ +import { BasicButton } from "../button.basic"; + +export declare class IconButton extends BasicButton { + static xtype: string; +} diff --git a/typescript/index.ts b/typescript/index.ts index 2b331d5ce9..7a89678b3b 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -49,6 +49,7 @@ import { Icon } from "./base/single/icon/icon"; import { _LeftVerticalAdapt } from "./core/wrapper/layout/adapt/adapt.leftvertical"; import { LeftRightVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftrightvertical"; import { IconTextIconItem } from "./base/single/button/listitem/icontexticonitem"; +import { IconButton } from "./base/single/button/buttons/button.icon"; type ClassConstructor = T & { @@ -109,6 +110,7 @@ export interface BI extends _func, _i18n, _base, _inject { LeftVerticalAdaptLayout: ClassConstructor<_LeftVerticalAdapt>; LeftRightVerticalAdaptLayout: typeof LeftRightVerticalAdaptLayout; IconTextIconItem: typeof IconTextIconItem; + IconButton: typeof IconButton; } export default { @@ -121,4 +123,5 @@ export { Icon, LeftRightVerticalAdaptLayout, IconTextIconItem, + IconButton, };