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.

23 lines (21 loc) 947 B
import { RegionLabelProps } from '../RegionLabel'; import { ComponentType, FunctionComponent } from 'react'; import { Action, MainLayoutState } from './types'; type Props = { state: MainLayoutState; RegionEditLabel?: ComponentType<RegionLabelProps> | FunctionComponent<RegionLabelProps> | null; dispatch: (action: Action) => void; alwaysShowNextButton?: boolean; alwaysShowPrevButton?: boolean; onRegionClassAdded: (cls: string) => void; hideHeader?: boolean; hideHeaderText?: boolean; hideNext?: boolean; hidePrev?: boolean; hideClone?: boolean; hideSettings?: boolean; hideFullScreen?: boolean; hideSave?: boolean; }; export declare const MainLayout: ({ state, dispatch, RegionEditLabel, onRegionClassAdded, hideHeader, hideHeaderText, hideNext, hidePrev, hideClone, hideSettings, hideFullScreen, hideSave, }: Props) => import("react/jsx-runtime").JSX.Element; export default MainLayout;