react-diff-viewer
react-diff-viewer copied to clipboard
A simple and beautiful text diff viewer component made with Diff and React.
I am trying to consume the library in my app. It's written in TS, and being thrown the error `classnames_1.default is not a function` coming from https://github.com/praneshr/react-diff-viewer/blob/6eda0f7cfcc3333cb8edb5f78e385253a970a37a/src/index.tsx#L259. I am doing...
Is there a way to implement expanding just some lines (maybe 5 or 10) around the diffChunk instead of expanding all the lines between two diffs similar to how [GitHub](https://github.com/praneshr/react-diff-viewer/pull/92/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2deR933)...
* Added my prettier settings to the repo * Modified eslint settings for smoother onboarding
We are planning to use this library and need hide whitespace changes feature to the one similar to [Github](https://github.blog/2018-05-01-ignore-white-space-in-code-review/). Here is the requirement: The whitespace changes should be visible when...
Hi @praneshr I'm having an issue with a file possibly caused by a large number of differences. There is a section in the file where all of the differences are...
Not sure if this is the right channel, but I was unable to change the colour of the text (irregardless of which container it belonged too, or whether it was...
oldValue: fewfwefw\nwfwfgwef newValue: fewfwefw\n\nwfwfgwef can't show difference when \n gap is one, if \n gap above one, it will work
* Add `codeFold` and `codeFoldContent` values to `ReactDiffViewerStylesOverride`. This fixes a type error that occurs when attempting to override these styles: > Type '{ variables: { light: { removedBackground: string;...
Library only work for Text can we add support for JSON