I used the 'react-pdf' package and implemented a left sidebar that adjusts its content when scrolling is triggered.
Akbar1437/react-pdf-viewer
I incorporated the 'react-pdf' package into project. And implemented a left sidebar that dynamically adjusts its content when scrolling is triggered.
TypeScript