@pierre/diffs
Version:
29 lines (28 loc) • 787 B
TypeScript
import { FileContents } from "../types.js";
import { DiffBasePropsReact } from "./types.js";
//#region src/react/MultiFileDiff.d.ts
interface MultiFileDiffProps<LAnnotation> extends DiffBasePropsReact<LAnnotation> {
oldFile: FileContents;
newFile: FileContents;
disableWorkerPool?: boolean;
}
declare function MultiFileDiff<LAnnotation = undefined>({
oldFile,
newFile,
options,
metrics,
lineAnnotations,
selectedLines,
className,
style,
prerenderedHTML,
renderAnnotation,
renderCustomHeader,
renderHeaderPrefix,
renderHeaderMetadata,
renderGutterUtility,
disableWorkerPool
}: MultiFileDiffProps<LAnnotation>): React.JSX.Element;
//#endregion
export { type FileContents, MultiFileDiff, MultiFileDiffProps };
//# sourceMappingURL=MultiFileDiff.d.ts.map