2019-01-12 11:33:27 +08:00
|
|
|
import Radio from './Radio';
|
|
|
|
import Group from './Group';
|
|
|
|
import Button from './RadioButton';
|
2019-08-28 10:50:19 +08:00
|
|
|
import Base from '../base';
|
2017-10-27 14:04:48 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
Radio.Group = Group;
|
|
|
|
Radio.Button = Button;
|
2018-09-19 13:21:57 +08:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 11:33:27 +08:00
|
|
|
Radio.install = function(Vue) {
|
2019-08-28 10:50:19 +08:00
|
|
|
Vue.use(Base);
|
2019-01-12 11:33:27 +08:00
|
|
|
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;
|