@atlaskit/renderer
Version:
Renderer component
14 lines (13 loc) • 440 B
TypeScript
import type { ReactNode } from 'react';
import React from 'react';
import type { TextHighlighter } from '../types';
import type { Mark } from '@atlaskit/editor-prosemirror/model';
type Props = {
children?: ReactNode | null;
endPos: number;
marks?: readonly Mark[];
startPos: number;
textHighlighter?: TextHighlighter;
};
declare const TextWrapper: (props: Props) => React.JSX.Element | null;
export default TextWrapper;