react-scrolling-list
v1.0.0
Published
Scrolling list React component
Downloads
30
Maintainers
Readme
React Scrolling List component
Instalation
$ yarn add react-scrolling-list
Usage
import ScrollingList from 'react-scrolling-list'
<ScrollingList maxHeight="200px" color="#ccc">
<p>Lorem ipsum dolor sit amet...</p>
<SomeComponent />
<img src="image.png" />
</ScrollingList>
Props
Prop | Type | Description ---- | ---- | ----------- color | String | Scrollbar color HEX value (default: #ccc) maxHeight | String | Container max. height (default: 200px) maxWidth | String | Container max. width (default: 100%) style | Object | Reast style object ClassName | String | Component css class name
License
MIT