1.0.7 • Published 1 year ago

slider-button v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago