forked from fanruan/fineui
iapyang
4 years ago
3 changed files with 47 additions and 0 deletions
@ -0,0 +1,19 @@
|
||||
import { shortcut } from "../../core/decorator/decorator"; |
||||
|
||||
@shortcut() |
||||
export class BasicButtonWrapper extends BI.BasicButton { |
||||
public static xtype = 'bi.component.basic_button_wrapper'; |
||||
|
||||
public props: { |
||||
render(): any; |
||||
doClick(): void; |
||||
} |
||||
|
||||
public render() { |
||||
return this.options.render(); |
||||
} |
||||
|
||||
public doClick() { |
||||
this.options.doClick(); |
||||
} |
||||
} |
Loading…
Reference in new issue