0.0.12 • Published 1 year ago

hand-moveable-slider v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Hand-Moveable-Slider

Hand-Moveable-Slider to create a scrollable slider using mouse interactions.

Installation

Install the package using npm:

npm install hand-moveable-slider

Props

  • customStyles (optional): An object to pass custom CSS styles to the HandMoveableSlider component. Default is {border: 'none'}, we can pass any other css what we can.

Example

Here is an example:

import React from 'react';
import HandMoveableSlider from 'handl-moveable-slider';

const App = () => (
  <HandMoveableSlider customStyles={{border:'none'}}>
    <div style={{border:"1px solid black"}}>hello</div>
    <div style={{border:"1px solid black"}}>hello</div>
    <div style={{border:"1px solid black"}}>hello</div>
  </HandMoveableSlider>
);

export default App;
0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago