labelbee
v1.12.0
Published
<div align="center"> <article style="display: flex; flex-direction: column; align-items: center; justify-content: center;"> <p align="center"><img width="300" src="./docs/assets/logo.svg" /></p> <h1 style="width: 100%; text-align: center;">L
Downloads
2
Readme
特性
- 即拆即用,简单配置即可创建标注应用
- 渲染分离,可单独使用渲染模块
安装
# npm
npm install @labelbee/lb-annotation
npm install @labelbee/lb-components
# yarn
yarn add @labelbee/lb-annotation
yarn add @labelbee/lb-components
使用
快速开始例子
import React from 'react';
import ReactDOM from 'react-dom';
import { AnnotationView } from '@labelbee/lb-components';
const src = ''; // 可访问的图片路径
const DefaultComponent = () => {
return (
<AnnotationView
src={src}
/>
)
}
ReactDOM.render(<App />, document.querySelector('#app'));
文档
友情链接
LICENSE
该项目使用 Apache 2.0 license.