UNPKG

@atlaskit/renderer

Version:
7 lines (6 loc) 463 B
import React from 'react'; import type { MarkProps, AnnotationMarkMeta } from '../types'; import type { Mark } from '@atlaskit/editor-prosemirror/model'; export declare const isAnnotationMark: (mark: Mark) => boolean; declare const AnnotationComponent: ({ id, annotationType, children, dataAttributes, annotationParentIds, allowAnnotations, useBlockLevel, isMediaInline, }: MarkProps<AnnotationMarkMeta>) => React.JSX.Element; export default AnnotationComponent;