@uploadcare/react-uploader 0.0.1-alpha.1 → 0.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -0
- package/dist/react-uploader.cjs +31 -31
- package/dist/react-uploader.d.ts +9 -3
- package/dist/react-uploader.js +303 -291
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Uploadcare React Uploader
|
|
2
|
+
|
|
3
|
+
<a href="https://uploadcare.com/?utm_source=github&utm_campaign=uploadcare-js-api-clients">
|
|
4
|
+
<img align="right" width="64" height="64"
|
|
5
|
+
src="https://ucarecdn.com/edfdf045-34c0-4087-bbdd-e3834921f890/userpiccircletransparent.svg"
|
|
6
|
+
alt="">
|
|
7
|
+
</a>
|
|
8
|
+
|
|
9
|
+
Uploadcare React Uploader.
|
|
10
|
+
|
|
11
|
+
### (@TODO: Add a link to the documentation)
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
npm i @uploadcare/react-uploader
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```jsx
|
|
23
|
+
import { FileUploaderRegular, FileUploaderMinimal, FileUploaderInline } from "@uploadcare/react-uploader";
|
|
24
|
+
|
|
25
|
+
<FileUploaderRegular pubkey="YOUR_PUBLIC_KEY" />;
|
|
26
|
+
|
|
27
|
+
<FileUploaderMinimal pubkey="YOUR_PUBLIC_KEY" />;
|
|
28
|
+
|
|
29
|
+
<FileUploaderInline pubkey="YOUR_PUBLIC_KEY" />;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Security issues
|
|
34
|
+
|
|
35
|
+
If you think you ran into something in Uploadcare libraries that might have
|
|
36
|
+
security implications, please hit us up at
|
|
37
|
+
[bugbounty@uploadcare.com][uc-email-bounty] or Hackerone.
|
|
38
|
+
|
|
39
|
+
We'll contact you personally in a short time to fix an issue through co-op and
|
|
40
|
+
prior to any public disclosure.
|
|
41
|
+
|
|
42
|
+
## Feedback
|
|
43
|
+
|
|
44
|
+
Issues and PRs are welcome. You can provide your feedback or drop us a support
|
|
45
|
+
request at [hello@uploadcare.com][uc-email-hello].
|
|
46
|
+
|
|
47
|
+
[uc-email-bounty]: mailto:bugbounty@uploadcare.com
|
|
48
|
+
|
|
49
|
+
[uc-email-hello]: mailto:hello@uploadcare.com
|
|
50
|
+
|
|
51
|
+
[badge-stack-img]: https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat
|
|
52
|
+
|
|
53
|
+
[badge-stack-url]: https://stackshare.io/uploadcare/stacks/
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
[uc-docs-metadata]: https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata
|