0.0.12 • Published 12 months ago

hand-moveable-slider v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago

0.0.0

12 months ago