1.0.7 • Published 2 years ago

slider-button v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation

npm install slider-button

Usages

Bellow is an example of how to use slider component.

import SliderButton from "slider-button";


 <SliderButton
 onSuccess={successAction}
 sliderText="Slide To Unlock"
 sliderSuccessText="Unlocked"
 containerStyle={{backgroundColor:"red"}}
 sliderStyle={{backgroundColor:"yellow"}}
 sliderTextStyle={{color:"black"}}
 sliderCircleStyle={{backgroundColor:"yellow"}}
 />

To add customized CSS add css properties to respective style Props. Also provide a success function to be executed after completion of sliding.

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago