1.0.0 • Published 6 years ago

react-scrolling-list v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

React Scrolling List component

Preview

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

PropTypeDescription
colorStringScrollbar color HEX value (default: #ccc)
maxHeightStringContainer max. height (default: 200px)
maxWidthStringContainer max. width (default: 100%)
styleObjectReast style object
ClassNameStringComponent css class name

License

MIT