【文件属性】:
文件名称:react-image-annotation:一个基于React的无限可定制的图像注释库
文件大小:1.26MB
文件格式:ZIP
更新时间:2021-05-02 16:29:32
react annotation annotations annotation-tool JavaScript
React图像注释
一个基于React的无限可定制的图像注释库
安装
npm install --save react-image-annotation
# or
yarn add react-image-annotation
用法
export default class Simple extends Component {
state = {
annotations : [ ] ,
annotation : { }
}
onChange = ( annotation ) => {
this . setState ( { annotation } )
}
onSubmit = ( annotation ) => {
const { geometry , data } = annotation
this . setState (
【文件预览】:
react-image-annotation-master
----.travis.yml(296B)
----nwb.config.js(465B)
----package.json(1KB)
----demo.gif(257KB)
----tests()
--------.eslintrc(37B)
--------Annotation.spec.js(426B)
--------index.test.js(210B)
--------selectors()
----.DS_Store(10KB)
----CONTRIBUTING.md(745B)
----src()
--------index.js(144B)
--------components()
--------types()
--------utils()
--------selectors.js(198B)
--------hocs()
----LICENSE.md(1KB)
----.gitignore(72B)
----CHANGELOG.md(380B)
----demo()
--------.DS_Store(8KB)
--------src()
--------public()
----public()
--------404.html(2KB)
----README.md(7KB)
----yarn.lock(288KB)