UNPKG

@labelu/image-annotator-react

Version:
17 lines 809 B
import React from 'react'; import type { DraggableModalRef } from '@labelu/components-react'; import type { ILabel } from '@labelu/interface'; import type { Annotator } from '@labelu/image'; export declare const dragModalRef: React.RefObject<DraggableModalRef>; export interface AttributeModalOpenParams { labelValue: string | undefined; engine: Annotator | null; e?: MouseEvent | React.MouseEvent; initialValues?: any; labelConfig?: ILabel; /** 无论是否有标签属性,都打开编辑弹框 */ openModalAnyway?: boolean; } export declare const openAttributeModal: ({ engine, labelValue, e, labelConfig, openModalAnyway, }: AttributeModalOpenParams) => void; export declare function LabelSection(): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=index.d.ts.map