diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/FileSystem.tsx | 0 | ||||
-rw-r--r-- | util/checkFileSystemCompatibility.ts | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/util/FileSystem.tsx b/util/FileSystem.tsx new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/util/FileSystem.tsx diff --git a/util/checkFileSystemCompatibility.ts b/util/checkFileSystemCompatibility.ts new file mode 100644 index 0000000..a96b68e --- /dev/null +++ b/util/checkFileSystemCompatibility.ts @@ -0,0 +1,3 @@ +export const checkFileSystemCompatibility = () => { + return typeof window.showDirectoryPicker !== 'undefined' +} |