mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 13:39:40 +08:00
25 lines
617 B
TypeScript
25 lines
617 B
TypeScript
import { App, Plugin } from 'vue';
|
|
import Radio from './Radio';
|
|
import Group from './Group';
|
|
import Button from './RadioButton';
|
|
|
|
export { RadioChangeEventTarget, RadioChangeEvent } from './interface';
|
|
|
|
Radio.Group = Group;
|
|
Radio.Button = Button;
|
|
|
|
/* istanbul ignore next */
|
|
Radio.install = function(app: App) {
|
|
app.component(Radio.name, Radio);
|
|
app.component(Radio.Group.name, Radio.Group);
|
|
app.component(Radio.Button.name, Radio.Button);
|
|
return app;
|
|
};
|
|
|
|
export { Button, Group };
|
|
export default Radio as typeof Radio &
|
|
Plugin & {
|
|
readonly Group: typeof Group;
|
|
readonly Button: typeof Button;
|
|
};
|