ant-design-vue/components/upload/index.jsx
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

15 lines
330 B
Vue

import Upload from './Upload'
import Dragger from './Dragger'
export { UploadProps, UploadListProps, UploadChangeParam } from './interface'
Upload.Dragger = Dragger
/* istanbul ignore next */
Upload.install = function (Vue) {
Vue.component(Upload.name, Upload)
Vue.component(Dragger.name, Dragger)
}
export default Upload