index.js 440 B

1234567891011121314
  1. import Radio from './Radio';
  2. import Group from './Group';
  3. import Button from './RadioButton';
  4. Radio.Group = Group;
  5. Radio.Button = Button;
  6. /* istanbul ignore next */
  7. Radio.install = function (app) {
  8. app.component(Radio.name, Radio);
  9. app.component(Radio.Group.name, Radio.Group);
  10. app.component(Radio.Button.name, Radio.Button);
  11. return app;
  12. };
  13. export { Button, Group, Button as RadioButton, Group as RadioGroup };
  14. export default Radio;