MrWangJustToDo / git-diff-view

A Diff View component for React / Vue, just like Github
https://mrwangjusttodo.github.io/git-diff-view/
MIT License
335 stars 11 forks source link

Show example code for github commit compare #11

Open Amandtu opened 1 month ago

Amandtu commented 1 month ago

Please share the sample code for github commit compare example here, it would be really helpful to understand how to render multiple files diff at once.

MrWangJustToDo commented 1 month ago

https://github.com/MrWangJustToDo/MrWangJustToDo.io/blob/main/app/src/components/DiffView/DiffContent.tsx you can view the source code in this link