MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / isKindFile

Function isKindFile

src/utils/index.js:178–180  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

176}
177
178export function isKindFile(item) {
179 return typeof item === "object" && item !== null && item.kind === "file";
180}
181
182// allow the entire document to be a drag target
183export function onDocumentDragOver(event) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…