|
8 | 8 |
|
9 | 9 | | Statements | Branches | Functions | Lines | |
10 | 10 | | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | |
11 | | -|  |  |  |  | |
| 11 | +|  |  |  |  | |
12 | 12 |
|
13 | 13 | ## Table of Contents |
14 | 14 |
|
@@ -76,15 +76,15 @@ export default function App() { |
76 | 76 |
|
77 | 77 | - An object with the following keys: |
78 | 78 |
|
79 | | -| key | description | arguments | |
80 | | -| ------------ | -------------------------------- | --------------------------------------------------------- | |
81 | | -| size | size in bytes | n/a | |
82 | | -| elapsed | elapsed time in seconds | n/a | |
83 | | -| percentage | percentage in string | n/a | |
84 | | -| download | download function handler | (downloadUrl: string, filename: string, timeout?: number) | |
85 | | -| cancel | cancel function handler | n/a | |
86 | | -| error | error object from the request | n/a | |
87 | | -| isInProgress | boolean denoting download status | n/a | |
| 79 | +| key | description | arguments | |
| 80 | +| ------------ | -------------------------------- | ------------------------------------------------------------------------------------------------- | |
| 81 | +| size | size in bytes | n/a | |
| 82 | +| elapsed | elapsed time in seconds | n/a | |
| 83 | +| percentage | percentage in string | n/a | |
| 84 | +| download | download function handler | (downloadUrl: string, filename: string, timeout?: number, overrideOptions?: UseDownloaderOptions) | |
| 85 | +| cancel | cancel function handler | n/a | |
| 86 | +| error | error object from the request | n/a | |
| 87 | +| isInProgress | boolean denoting download status | n/a | |
88 | 88 |
|
89 | 89 | ```jsx |
90 | 90 | const { size, elapsed, percentage, download, cancel, error, isInProgress } = |
@@ -123,7 +123,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d |
123 | 123 | <td align="center" valign="top" width="14.28%"><a href="http://bzbetty.blogspot.com"><img src="https://avatars.githubusercontent.com/u/533131?v=4?s=100" width="100px;" alt="Sam "Betty" McKoy"/><br /><sub><b>Sam "Betty" McKoy</b></sub></a><br /><a href="https://github.com/the-bugging/react-use-downloader/issues?q=author%3Abzbetty" title="Bug reports">🐛</a></td> |
124 | 124 | <td align="center" valign="top" width="14.28%"><a href="https://github.com/peranosborn"><img src="https://avatars.githubusercontent.com/u/1318002?v=4?s=100" width="100px;" alt="Peran Osborn"/><br /><sub><b>Peran Osborn</b></sub></a><br /><a href="https://github.com/the-bugging/react-use-downloader/issues?q=author%3Aperanosborn" title="Bug reports">🐛</a> <a href="#ideas-peranosborn" title="Ideas, Planning, & Feedback">🤔</a></td> |
125 | 125 | <td align="center" valign="top" width="14.28%"><a href="https://github.com/MarcosRS"><img src="https://avatars.githubusercontent.com/u/12486814?v=4?s=100" width="100px;" alt="Marcos"/><br /><sub><b>Marcos</b></sub></a><br /><a href="https://github.com/the-bugging/react-use-downloader/issues?q=author%3AMarcosRS" title="Bug reports">🐛</a> <a href="#ideas-MarcosRS" title="Ideas, Planning, & Feedback">🤔</a></td> |
126 | | - <td align="center" valign="top" width="14.28%"><a href="https://github.com/9swampy"><img src="https://avatars.githubusercontent.com/u/523054?v=4?s=100" width="100px;" alt="9swampy"/><br /><sub><b>9swampy</b></sub></a><br /><a href="https://github.com/the-bugging/react-use-downloader/issues?q=author%3A9swampy" title="Bug reports">🐛</a> <a href="https://github.com/the-bugging/react-use-downloader/commits?author%3A9swampy" title="Code">💻</a></td> |
| 126 | + <td align="center" valign="top" width="14.28%"><a href="https://github.com/9swampy"><img src="https://avatars.githubusercontent.com/u/523054?v=4?s=100" width="100px;" alt="9swampy"/><br /><sub><b>9swampy</b></sub></a><br /><a href="https://github.com/the-bugging/react-use-downloader/issues?q=author%3A9swampy" title="Bug reports">🐛</a> <a href="https://github.com/the-bugging/react-use-downloader/commits?author=9swampy" title="Code">💻</a></td> |
| 127 | + </tr> |
| 128 | + <tr> |
| 129 | + <td align="center" valign="top" width="14.28%"><a href="https://github.com/davecarlson"><img src="https://avatars.githubusercontent.com/u/299702?v=4?s=100" width="100px;" alt="Dave Carlson"/><br /><sub><b>Dave Carlson</b></sub></a><br /><a href="#ideas-davecarlson" title="Ideas, Planning, & Feedback">🤔</a></td> |
127 | 130 | </tr> |
128 | 131 | </tbody> |
129 | 132 | </table> |
|
0 commit comments