@jaiharishan/react-scrollbox

1.0.3 • Public • Published

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}>
  )
}

Authors

Readme

Keywords

Package Sidebar

Install

npm i @jaiharishan/react-scrollbox

Weekly Downloads

8

Version

1.0.3

License

ISC

Unpacked Size

78.9 kB

Total Files

3

Last publish

Collaborators

  • jaiharishan