ant-design-vue/components/checkbox/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

14 lines
286 B
JavaScript

import Checkbox from './Checkbox'
import CheckboxGroup from './Group'
Checkbox.Group = CheckboxGroup
/* istanbul ignore next */
Checkbox.install = function (Vue) {
Vue.component(Checkbox.name, Checkbox)
Vue.component(CheckboxGroup.name, CheckboxGroup)
}
export default Checkbox