Browse Source

IconButton 类型补充

es6
alan 4 years ago
parent
commit
f0aeba3b8a
  1. 5
      typescript/base/single/button/buttons/button.icon.ts
  2. 3
      typescript/index.ts

5
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;
}

3
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 extends {}> = 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,
};

Loading…
Cancel
Save