lost-sia
Version:
Single Image Annotation Tool
2 lines (1 loc) • 770 B
JavaScript
import{jsxs as d,Fragment as l,jsx as n}from"react/jsx-runtime";import s from"../../Canvas/Canvas.js";const c={canHaveMultipleLabels:!0,canCreate:!0,canLabel:!0},u=({annotations:e=[],image:t,selectedAnnoTool:o,possibleLabels:a,preventScrolling:i,uiConfig:r})=>d(l,{children:[n("h1",{children:"A line to generate offset"}),n("div",{style:{width:"100%",height:"100%",padding:200,background:"green"},children:n(s,{annotations:e,annotationSettings:c,image:t,selectedAnnotation:void 0,selectedAnnoTool:o,possibleLabels:a,preventScrolling:i,uiConfig:r,onAnnoCreated:()=>{},onAnnoChanged:()=>{},onAnnoCreationFinished:()=>{},onAnnoEditing:()=>{},onRequestNewAnnoId:()=>1,onSelectAnnotation:()=>{},onSetSelectedTool:()=>{},onShouldDeleteAnno:()=>{}})})]});export{u as default};