2019-01-12 03:33:27 +00:00
|
|
|
import Radio from './Radio';
|
|
|
|
import Group from './Group';
|
|
|
|
import Button from './RadioButton';
|
2019-08-28 02:50:19 +00:00
|
|
|
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;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 03:33:27 +00:00
|
|
|
Radio.install = function(Vue) {
|
2019-08-28 02:50:19 +00:00
|
|
|
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;
|