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

19 lines
430 B
JavaScript

import Radio from './Radio';
import Group from './Group';
import Button from './RadioButton';
import Base from '../base';
Radio.Group = Group;
Radio.Button = Button;
/* istanbul ignore next */
Radio.install = function(Vue) {
Vue.use(Base);
Vue.component(Radio.name, Radio);
Vue.component(Radio.Group.name, Radio.Group);
Vue.component(Radio.Button.name, Radio.Button);
};
export { Button, Group };
export default Radio;