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

19 lines
430 B
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import Radio from './Radio';
import Group from './Group';
import Button from './RadioButton';
import Base from '../base';
2017-10-27 06:04:48 +00:00
2019-01-12 03:33:27 +00:00
Radio.Group = Group;
Radio.Button = Button;
/* istanbul ignore next */
2019-01-12 03:33:27 +00:00
Radio.install = function(Vue) {
Vue.use(Base);
2019-01-12 03:33:27 +00:00
Vue.component(Radio.name, Radio);
Vue.component(Radio.Group.name, Radio.Group);
Vue.component(Radio.Button.name, Radio.Button);
};
2017-10-27 06:04:48 +00:00
2019-01-12 03:33:27 +00:00
export { Button, Group };
export default Radio;