mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
20 lines
465 B
Vue
20 lines
465 B
Vue
import { App, Plugin } from 'vue';
|
|
import Upload from './Upload';
|
|
import Dragger from './Dragger';
|
|
|
|
export { UploadProps, UploadListProps, UploadChangeParam } from './interface';
|
|
|
|
Upload.Dragger = Dragger;
|
|
|
|
/* istanbul ignore next */
|
|
Upload.install = function(app: App) {
|
|
app.component(Upload.name, Upload);
|
|
app.component(Dragger.name, Dragger);
|
|
return app;
|
|
};
|
|
|
|
export default Upload as typeof Upload &
|
|
Plugin & {
|
|
readonly Dragger: typeof Dragger;
|
|
};
|