UNPKG

@pierre/diffs

Version:

26 lines (25 loc) 650 B
import { DiffBasePropsReact } from "./types.js"; //#region src/react/PatchDiff.d.ts interface PatchDiffProps<LAnnotation> extends DiffBasePropsReact<LAnnotation> { patch: string; disableWorkerPool?: boolean; } declare function PatchDiff<LAnnotation = undefined>({ patch, options, metrics, lineAnnotations, selectedLines, className, style, prerenderedHTML, renderAnnotation, renderCustomHeader, renderHeaderPrefix, renderHeaderMetadata, renderGutterUtility, disableWorkerPool }: PatchDiffProps<LAnnotation>): React.JSX.Element; //#endregion export { PatchDiff, PatchDiffProps }; //# sourceMappingURL=PatchDiff.d.ts.map