@s-yh/react-scroll-bar

1.0.7 • Public • Published

@s-yh/react-scroll-bar

A scrollbar for react. It is a container, and you can insert anything into it. Just add height, width.

Getting Started

npm install @s-yh/react-scroll-bar

Usage example

import ScrollBar from '@s-yh/react-scroll-bar'

<ScrollBar height="50px" width="200px">
	<ul>
		<li>Hello</li>
		<li>Hello</li>
		<li>Hello</li>
    </ul>
</ScrollBar>

Release History

  • 1.0.4
    • Solve the bug that the thump is disappear when mousemove
  • 1.0.2
    • Support the typescript
  • 1.0.0
    • Work in progress

Authors

  • Shi Yuhang - Syh

/@s-yh/react-scroll-bar/

    Package Sidebar

    Install

    npm i @s-yh/react-scroll-bar

    Weekly Downloads

    1

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    10.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • s-yh