0.1.2 • Published 7 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
7 years ago
0.1.1
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago