react-diff-viewer
react-diff-viewer copied to clipboard
A simple and beautiful text diff viewer component made with Diff and React.
I have a view that I want to either highlight added OR removed lines, but not both at the same time. Is there a way to diff for ONLY added...
Add a hook named 'onLineContentClickProxy' which can returns a function with clicked line text content&type in the closure. Returns an no-op function when no. Using this hook people are able...
Hello, @praneshr . Thank you for your response regarding issue #43 , it is highly appreciated. However, as mentioned in the initial message, it is not possible to customize the...
fix for https://github.com/praneshr/react-diff-viewer/issues/144
Hi there, I want to group additions and deletions in my react diff viewer. I see that react-diff-view has `nearbySequences` set to zip to accomplish this -- is there any...
* adds a new optional parameter `renderContext` to `renderContent`, which enables custom conditional rendering such as comments or code annotations * adds Prettier, synced with ESLint/TypeScript, switches to strings, size...
Any plans to upgrade to React 18.x?
When clicking on a green line number in the inline view, the line number provided doesn't read as "R-###", but as "undefined-###". Red line numbers and unchanged line numbers seem...