You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
510 B
22 lines
510 B
import type { 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 const UploadDragger = Dragger;
|
|
|
|
export default Upload as typeof Upload &
|
|
Plugin & {
|
|
readonly Dragger: typeof Dragger;
|
|
};
|