0.1.2 • Published 5 years ago
yosgo-image-uploader v0.1.2
YOSGO image uploader
Image upload module with react, imgur, typescript.
Features
- simple config and basic style
- Output images with array
- able to change image url order / delete
Get start
Install
styled-components is peerDependencies. If you don't install styled-components yarn add styled-components first.
yarn add yosgo-image-uploader
props
props | required | type | description |
---|---|---|---|
imgurClientId | yes | string | 至此申請 imgur app 並取得 imgurClientId |
urls | yes | Array | 陣列,陣列值為圖片網址字串 |
onChange | yes | Function | 更新 urls 陣列 |
description | no | Function | 上傳描述 |
hint | no | Function | 相關提示 |
btnText | no | Function | 上傳按鈕文字 |
Example
View example on CodeSandBox
0.1.2
5 years ago
0.1.1
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago