2.0.1 • Published 11 months ago
react-custom-scroller v2.0.1
react-custom-scroller
Super simple React component for creating a custom scrollbar cross-browser and cross-devices.
Interested in working on projects like this? Close is looking for great engineers to join our team!
Install
yarn add react-custom-scrollerBenefits
- Extremely lightweight (less than 2KB minzipped).
- It uses the native scroll events, so all the events work and are smooth (mouse wheel, space, page down, page up, arrows etc).
- No other 3rd-party dependencies.
- The performance is excellent!
Usage
import React from 'react';
import CustomScroller from 'react-custom-scroller';
const MyScrollableDiv = () => (
  <CustomScroller>Content goes here.</CustomScroller>
);License
MIT © Close
2.0.0-rc.2
11 months ago
2.0.0-rc.3
11 months ago
2.0.0-rc.4
11 months ago
2.0.0-rc.5
11 months ago
2.0.0-rc
11 months ago
2.0.1
11 months ago
2.0.0
11 months ago
1.0.0
6 years ago