How can I expand last hunk
cxyxc opened this issue · 1 comments
cxyxc commented
Please help me. Thanks.
In your demo, after last hunk has many code not expand and no expand button. how can I visible an expand button?
在您的 demo 中,最后几行并没有展开,而且也没有展开按钮了。想知道如何写判断逻辑,来展示最后一个展开按钮。
非常感谢您的时间。🙏
https://codesandbox.io/s/react-diff-view-with-code-expansion-hzqzj
cxyxc commented
https://github.com/otakustay/react-diff-view/tree/master/site
site dir is useful, thanks very much.