mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 02:57:41 +08:00
6 lines
148 B
TypeScript
6 lines
148 B
TypeScript
import type * as React from 'react'
|
|
|
|
export const isFileDrag = (e: React.DragEvent): boolean => {
|
|
return e.dataTransfer.types.includes('Files')
|
|
}
|