ant-design-vue/components/radio/index.js
tangjinzhou a6620cbbe5
feat: add component Vue.use method (#197)
* feat: add Vue.use feat

* feat: Vue.use method

* docs: update docs
2018-09-19 13:21:57 +08:00

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