Package Exports
- react-smooth-scrollbar-z
- react-smooth-scrollbar-z/build/index.esm.js
- react-smooth-scrollbar-z/build/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-smooth-scrollbar-z) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Description
Usage
npm install react-smooth-scrollbar-z
Import the module in the place you want to use:
import Scrollbar from 'react-smooth-scrollbar-z'
Snippet
simple
<ReactSmoothScrollbar
alwaysShowTracks
height="100px"
width="200px"
damping={number}
thumbMinSize={number}
renderByPixels={boolean}
continuousScrolling={boolean}
wheelEventTarget={element}
// overEffect={"bounce" | "glow"}
// plugins={object}
onScroll={func}
>
{ something1... }
</ReactSmoothScrollbar>
RUN
npm install
npm run dev
npm run start
License
MIT