mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 04:27:41 +08:00
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
import { App, Plugin } from 'vue';
|
|
import Button from './button';
|
|
import ButtonGroup from './button-group';
|
|
|
|
Button.Group = ButtonGroup;
|
|
|
|
/* istanbul ignore next */
|
|
Button.install = function(app: App) {
|
|
app.component(Button.name, Button);
|
|
app.component(ButtonGroup.name, ButtonGroup);
|
|
return app;
|
|
};
|
|
|
|
export default Button as typeof Button &
|
|
Plugin & {
|
|
readonly Group: typeof ButtonGroup;
|
|
};
|