mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-21 06:49:37 +00:00
feat: audio drag-drop and paste support (#9152)
This commit is contained in:
@@ -28,3 +28,7 @@ export async function extractFilesFromDragEvent(
|
||||
export function hasImageType({ type }: File): boolean {
|
||||
return type.startsWith('image')
|
||||
}
|
||||
|
||||
export function hasAudioType({ type }: File): boolean {
|
||||
return type.startsWith('audio')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user