UNPKG

react-visual-annotator

Version:

Powerful React image and video annotation tool for machine learning, computer vision, and AI training data creation. Features rotatable bounding boxes, polygons, keypoints, segmentation with TypeScript support and Material-UI components.

18 lines (16 loc) 927 B
import { RegionAllowedActions } from '../MainLayout/types.ts'; import { Region } from '../types/region-tools.ts'; interface RegionSelectorSidebarBoxProps { regions?: Region[]; regionClsList?: Array<{ id: string; label: string; }> | string[]; regionAllowedActions: RegionAllowedActions; onDeleteRegion: (r: Region) => void; onChangeRegion: (r: Region) => void; onSelectRegion: (r: Region) => void; } export declare const RegionSelectorSidebarBox: ({ regions, regionClsList, onDeleteRegion, onChangeRegion, onSelectRegion, regionAllowedActions, }: RegionSelectorSidebarBoxProps) => import("react/jsx-runtime").JSX.Element; declare const _default: import('react').MemoExoticComponent<({ regions, regionClsList, onDeleteRegion, onChangeRegion, onSelectRegion, regionAllowedActions, }: RegionSelectorSidebarBoxProps) => import("react/jsx-runtime").JSX.Element>; export default _default;