Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Feb 17, 2025
1 parent 9742b7f commit 573e8f4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/src/app/(docs)/api-reference/react/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ export const OurUploadButton = () => (
<Property name="onUploadAborted" type="function" since="6.7">
Callback function when that runs when an upload is aborted.
</Property>
<Property name="progressGranularity" type="'all' | 'fine' | 'coarse'" since="7.3" defaultValue="coarse">
The granularity of which progress events are fired. 'all' forwards every progress event, 'fine' forwards events for every 1% of progress, 'coarse' forwards events for every 10% of progress.
</Property>
<Property name="onUploadProgress" type="function" since="5.1">
Callback function that gets continuously called as the file is uploaded to
the storage provider.
Expand Down Expand Up @@ -422,6 +425,9 @@ export const OurUploadDropzone = () => (
<Property name="onUploadAborted" type="function" since="6.7">
Callback function when that runs when an upload is aborted.
</Property>
<Property name="progressGranularity" type="'all' | 'fine' | 'coarse'" since="7.3" defaultValue="coarse">
The granularity of which progress events are fired. 'all' forwards every progress event, 'fine' forwards events for every 1% of progress, 'coarse' forwards events for every 10% of progress.
</Property>
<Property name="onUploadProgress" type="function" since="5.1">
Callback function that gets continuously called as the file is uploaded to
the storage provider.
Expand Down Expand Up @@ -552,6 +558,9 @@ using a string literal parameter.
<Property name="onUploadAborted" type="function" since="6.7">
Callback function when that runs when an upload is aborted.
</Property>
<Property name="progressGranularity" type="'all' | 'fine' | 'coarse'" since="7.3" defaultValue="coarse">
The granularity of which progress events are fired. 'all' forwards every progress event, 'fine' forwards events for every 1% of progress, 'coarse' forwards events for every 10% of progress.
</Property>
<Property name="onUploadProgress" type="function" since="5.1">
Callback function that gets continuously called as the file is uploaded to
the storage provider.
Expand Down

0 comments on commit 573e8f4

Please sign in to comment.