UNPKG

lost-sia

Version:

Single Image Annotation Tool

18 lines (17 loc) 731 B
import { CSSProperties } from 'react'; import { Point, AnnotationSettings } from '../../../types'; type NodeProps = { index: number; coordinates: Point; annotationSettings: AnnotationSettings; pageToStageOffset: Point; svgScale: number; svgTranslation: Point; style: CSSProperties; onDeleteNode: () => void; onMoving: (index: number, coordinates: Point) => void; onMoved: () => void; onIsDraggingStateChanged: (bool: any) => void; }; declare const Node: ({ index, coordinates, annotationSettings, pageToStageOffset, svgScale, svgTranslation, style, onDeleteNode, onMoving, onMoved, onIsDraggingStateChanged, }: NodeProps) => import("react/jsx-runtime").JSX.Element; export default Node;