ant-design-vue/components/button/index.js

15 lines
321 B
JavaScript
Raw Normal View History

2019-01-12 11:33:27 +08:00
import Button from './button';
import ButtonGroup from './button-group';
import Base from '../base';
2017-10-26 15:18:08 +08:00
2019-01-12 11:33:27 +08:00
Button.Group = ButtonGroup;
/* istanbul ignore next */
2019-01-12 11:33:27 +08:00
Button.install = function(Vue) {
Vue.use(Base);
2019-01-12 11:33:27 +08:00
Vue.component(Button.name, Button);
Vue.component(ButtonGroup.name, ButtonGroup);
};
2017-10-26 15:18:08 +08:00
2019-01-12 11:33:27 +08:00
export default Button;