UNPKG

@uploadcare/file-uploader

Version:

Building blocks for Uploadcare products integration

16 lines 439 B
/** * Note: dataTransfer will be destroyed outside of the call stack. So, do not try to process it asynchronous. * * @param {DataTransfer} dataTransfer * @returns {Promise<DropItem[]>} */ export function getDropItems(dataTransfer: DataTransfer): Promise<DropItem[]>; export type DropItem = { type: 'file'; file: File; fullPath?: string; } | { type: 'url'; url: string; }; //# sourceMappingURL=getDropItems.d.ts.map