1.0.19 • Published 6 months ago

scrollbar-library v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Scrollbar Library

The Scrollbar Library is a React component designed to create custom scrollbars.

Installation

To use the Scrollbar Library in your React application, install it using npm or yarn:

npm install scrollbar-library

or

yarn add scrollbar-library

Usage

To use the CustomScrollbar component within your React application: import { CustomScrollbar } from 'scrollbar-library';

Props

autoHide (optional) Determines if the scrollbar should automatically hide after a certain timeout.

autoHideTimeout (optional) The timeout duration in milliseconds before the scrollbar hides (default is 2000 milliseconds).

autoHeightMin and autoHeightMax (optional) Control the minimum and maximum height of the scrollbar.

styleName (optional) Apply specific styles to the scrollbar using predefined style classes.

onScroll (optional) A function to handle the scrolling event.

Styling

The provided CSS file (index.css) contains styles for the scrollbar component. Customize these styles as needed to match your application's design.

1.0.19

6 months ago

1.0.18

6 months ago

1.0.17

6 months ago

1.0.16

6 months ago

1.0.15

6 months ago

1.0.14

6 months ago

1.0.13

6 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago