Skip to content

Commit

Permalink
[modify] Upgrade npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoKaiLun committed Feb 24, 2020
1 parent b77f04f commit c21120b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ import 'react-img-editor/assets/index.css'
| height | 画板高度 | number? | 500 |
| style | 画板样式 | React.CSSProperties | - |
| plugins | 自定义的插件 | Plugin[] | [] |
| toolbar | 工具栏配置 | { items: string[] } | {items: ['pen', 'eraser', 'arrow', 'rect', 'circle', 'mosaic', 'text', 'repeal', 'download', 'crop']} |
| toolbar | 工具栏配置 | { items: string[] } | {items: ['pen', 'eraser', 'arrow', 'rect', 'circle', 'mosaic', 'text', '|', 'repeal', 'download', 'crop']} |
| getStage | 获取 KonvaJS 的 [Stage](https://konvajs.org/api/Konva.Stage.html) 对象,可用于下载图片等操作 | (stage: any) => void |
| defaultPluginName | 默认选中的插件名称 | string? | - |


## 📝 TODO

- [ ] 动态加载图片
- [ ] 裁剪画出范围异常修复
- [ ] 下载图片类型配置
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-img-editor",
"version": "0.1.2",
"version": "0.1.3",
"description": "图片编辑器(微信截图编辑 PRO 版)",
"keywords": [
"react-img-editor",
Expand Down

0 comments on commit c21120b

Please sign in to comment.