UNPKG

reviewit

Version:

A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view

10 lines (9 loc) 262 B
import React from 'react'; import { FileDiff } from '../../types/diff.js'; interface DiffViewerProps { files: FileDiff[]; initialFileIndex: number; onBack: () => void; } declare const DiffViewer: React.FC<DiffViewerProps>; export default DiffViewer;