UNPKG

alinea

Version:
12 lines (11 loc) 527 B
import { type TextDoc } from 'alinea/core/TextDoc'; import type { RichTextShape } from 'alinea/core/shape/RichTextShape'; import { type ComponentType } from 'react'; import type { FieldsDiffProps } from './FieldsDiff.js'; export type RichTextDiffProps = { FieldsDiff: ComponentType<FieldsDiffProps>; shape: RichTextShape<any>; valueA: TextDoc<any>; valueB: TextDoc<any>; }; export declare function RichTextDiff({ FieldsDiff, shape, valueA, valueB }: RichTextDiffProps): import("react/jsx-runtime").JSX.Element;