Rezi
    Preparing search index...

    Type Alias DiffViewerProps

    DiffViewerProps: Readonly<
        {
            accessibleLabel?: string;
            contextLines?: number;
            diff: DiffData;
            expandedHunks?: readonly number[];
            focusable?: boolean;
            focusConfig?: FocusConfig;
            focusedHunk?: number;
            focusedHunkStyle?: TextStyle;
            id: string;
            key?: string;
            lineNumbers?: boolean;
            mode: "unified"
            | "sideBySide";
            onApplyHunk?: (hunkIndex: number) => void;
            onHunkToggle?: (hunkIndex: number, expanded: boolean) => void;
            onRevertHunk?: (hunkIndex: number) => void;
            onScroll: (scrollTop: number) => void;
            onStageHunk?: (hunkIndex: number) => void;
            onUnstageHunk?: (hunkIndex: number) => void;
            scrollbarStyle?: TextStyle;
            scrollbarVariant?: "minimal" | "classic" | "modern" | "dots" | "thin";
            scrollTop: number;
        },
    > & LayoutConstraints

    Props for DiffViewer widget. Show unified or side-by-side diffs.