UNPKG

react-diff-view

Version:

A git diff component to consume the git unified diff output.

10 lines (9 loc) 356 B
import { ComponentType } from 'react'; import { DiffProps } from '../Diff'; import { Source } from '../utils'; export default function minCollapsedLines(minLinesExclusive: number): (ComponentIn: ComponentType<DiffProps>) => { (props: DiffProps & { oldSource: Source; }): import("react/jsx-runtime").JSX.Element; displayName: string; };