React component that creates a div with an optimized custom scrollbar inside of it. The built file is about 1k, only 70 lines of code! I doubt I can make it any smaller.
npm install --save react-rolling-paper
Usage
importRollingPaperfrom'react-rolling-paper';
<RollingPaper>
<div>Long content to scroll</div>
</RollingPaper>
Some CSS Required
You may wish to configure the css in your own project. Please use this as a starting point for your own needs.