Skip to content

Commit 2c98529

Browse files
committed
Merge branch 'main' of github.com:chanced/FileDrop.svelte
2 parents 5c6fa02 + 43dff03 commit 2c98529

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,7 @@ See this [REPL for minimal usage](https://svelte.dev/repl/645841f327b8484093f94b
107107
| `FileSizeMinimumNotMetError` | file does not satisify `minSize` | `FileSizeMinimumNotMet` (**2**) |
108108
| `FileSizeMaximumExceededError` | file does not satisify `maxSize` | `FileSizeMaximumExceeded` (**3**) |
109109

110-
### Alternatives
111-
112-
- [svelte-file-dropzone](https://github.com/thecodejack/svelte-file-dropzone)
113-
114-
### Previous art
115-
116-
- [react-dropzone](https://github.com/react-dropzone/react-dropzone)
117-
- [svelte-file-dropzone](https://github.com/thecodejack/svelte-file-dropzone)
118-
119-
### Dependencies
120-
121-
- [file-selector](https://github.com/react-dropzone/file-selector)
122-
123-
## Typescript
110+
### Typescript
124111

125112
In order for typings to work properly, you'll need to add the following to
126113
`global.d.ts` [until this issue is
@@ -155,6 +142,21 @@ declare namespace svelte.JSX {
155142

156143
You may need to edit `tsconfig.json` to include `global.d.ts` if it isn't already.
157144

145+
146+
### Alternatives
147+
148+
- [svelte-file-dropzone](https://github.com/thecodejack/svelte-file-dropzone)
149+
150+
### Previous art
151+
152+
- [react-dropzone](https://github.com/react-dropzone/react-dropzone)
153+
- [svelte-file-dropzone](https://github.com/thecodejack/svelte-file-dropzone)
154+
155+
### Dependencies
156+
157+
- [file-selector](https://github.com/react-dropzone/file-selector)
158+
159+
158160
## Todo
159161

160162
- tests

0 commit comments

Comments
 (0)