Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

dapi-labs/react-horizontal-scrolling

Repository files navigation

react-horizontal-scrolling

Version js-standard-style npm download

Installation

npm install react-horizontal-scrolling

Features

Usage

import HorizontalScroll from 'react-horizontal-scrolling'

<HorizontalScroll>
  {pictures.map((pic, idx) => (
    <img
      className="rounded w-56 h-64 object-cover"
      src={pic}
      key={idx} />
  ))}
</HorizontalScroll>

License

MIT