MCPcopy Create free account
hub / github.com/adobe/react-spectrum / constructor

Method constructor

packages/react-aria/test/dnd/mocks.js:40–45  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

38
39export class FileSystemFileEntry {
40 constructor(file) {
41 this.isFile = true;
42 this.isDirectory = false;
43 this.name = file.name;
44 this._file = file;
45 }
46
47 file(cb) {
48 cb(this._file);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected