React-scrollbox
A simple light-weight scrollbox component for react.
Features
- Easy to use react component
- Responsive, goes well on all screen sizes.
- Light weight and customizable.
Installation
To install this package
npm i @jaiharishan/react-scrolbox
Usage
import {ScrollBox} from '@jaiharishan/react-scrollbox'
function App() {
// children - any array of data which to be represented as a slide
// Elem - A react component for each child in children.
return (
<ScrollBox children = {children} Elem = {Elem}>
)
}