react-diff-viewer
react-diff-viewer copied to clipboard
Throwing classnames_1.default is not a function
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 nothing fancy, just tried with the example to move forward,
Can someone plz help me out?
you just edit the library wherever classnames_1.defalut defined change it classnames_1 it will work, it was not identifying default function. it was breaking due to latest react-bootstrap version