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

15 lines
321 B
JavaScript
Raw Normal View History

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