react-smooth-scrollbar icon indicating copy to clipboard operation
react-smooth-scrollbar copied to clipboard

Updated context API and React Version

Open JunCLi opened this issue 5 years ago • 0 comments

Updated legacy context API to use newer context API, updated react from version 15.6.2 to 16.13.1.

I was using your react-wrapper and decided to solve one of the warning messages caused by using the older React Context API. I'm not quite sure what you're using getScrollbar for so I just took the function as is and put it into Context.

JunCLi avatar Jul 30 '20 03:07 JunCLi