- Notifications
You must be signed in to change notification settings - Fork1
jbccollins/react-gradient-scroll-indicator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A wrapper for scrollable content that adds gradients indicating when more scrolling is possible
npm install --save react-gradient-scroll-indicator
name | default value | description |
---|---|---|
primaryColor | #ffffff | outer color |
fadeColor | transparent | inner color |
fadeHeight | 20px | height of the fade overlays |
importReact,{Component}from'react'importGradientScrollfrom'react-gradient-scroll-indicator'classExampleextendsComponent{render(){return(<GradientScroll><div> Literally any content you want can go here.</div></GradientScroll>)}}
MIT ©jbccollins
About
📜 A wrapper for scrollable content that adds gradients indicating when more scrolling is possible.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.