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

19 lines
431 B
TypeScript
Raw Normal View History

2020-10-20 08:58:08 +00:00
import { App } from 'vue';
2019-01-12 03:33:27 +00:00
import Radio from './Radio';
import Group from './Group';
import Button from './RadioButton';
2017-10-27 06:04:48 +00:00
2019-01-12 03:33:27 +00:00
Radio.Group = Group;
Radio.Button = Button;
/* istanbul ignore next */
2020-10-20 08:58:08 +00:00
Radio.install = function(app: App) {
app.component(Radio.name, Radio);
app.component(Radio.Group.name, Radio.Group);
app.component(Radio.Button.name, Radio.Button);
2020-10-13 11:14:56 +00:00
return app;
2019-01-12 03:33:27 +00:00
};
2017-10-27 06:04:48 +00:00
2019-01-12 03:33:27 +00:00
export { Button, Group };
export default Radio;