index.js 430 B

123456789101112131415161718
  1. import Radio from './Radio';
  2. import Group from './Group';
  3. import Button from './RadioButton';
  4. import Base from '../base';
  5. Radio.Group = Group;
  6. Radio.Button = Button;
  7. /* istanbul ignore next */
  8. Radio.install = function (Vue) {
  9. Vue.use(Base);
  10. Vue.component(Radio.name, Radio);
  11. Vue.component(Radio.Group.name, Radio.Group);
  12. Vue.component(Radio.Button.name, Radio.Button);
  13. };
  14. export { Button, Group };
  15. export default Radio;