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

17 lines
385 B
JavaScript
Raw Normal View History

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