react-diff-viewer icon indicating copy to clipboard operation
react-diff-viewer copied to clipboard

Expand some lines instead of all between the diff

Open AmeyaLokre opened this issue 4 years ago • 0 comments
trafficstars

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 does it ?

Current behavior: image

Expected behavior: image

AmeyaLokre avatar Jun 16 '21 00:06 AmeyaLokre