mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 04:27:41 +08:00
a6620cbbe5
* feat: add Vue.use feat * feat: Vue.use method * docs: update docs
18 lines
376 B
JavaScript
18 lines
376 B
JavaScript
import Radio from './Radio'
|
|
import Group from './Group'
|
|
import Button from './RadioButton'
|
|
|
|
Radio.Group = Group
|
|
Radio.Button = Button
|
|
|
|
/* istanbul ignore next */
|
|
Radio.install = function (Vue) {
|
|
Vue.component(Radio.name, Radio)
|
|
Vue.component(Radio.Group.name, Radio.Group)
|
|
Vue.component(Radio.Button.name, Radio.Button)
|
|
}
|
|
|
|
export { Button, Group }
|
|
export default Radio
|
|
|