UNPKG

@saran-ign/react-image-annotate

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