0.0.5 • Published 6 years ago

react-native-glow-pad-view v0.0.5

Weekly downloads
16
License
-
Repository
github
Last release
6 years ago

react-native-glow-pad-view

A swiping component for React native for both android and ios

Installation:

Install the component through npm using:

npm install react-native-glow-pad-view --save

Example:

import GlowPadView from 'react-native-glow-pad-view';


          <GlowPadView
            backgroundColor = null
            leftIcon = {true}
            rightIcon = {true}
            pulseColor = 'red'
            pulseCount = {4}
            pulseDiameter = {200}
            pulseSpeed = {15}
            pulseDuration = {2000}
            imageStyle = {{height:20,width:20}}
            imageSourcePath = {null}
            imageSourceUri = 'https://image.ibb.co/b1yygm/uncheck_2x.png'
            swipeActive = {(isActive)=>{alert(isActive);}}
          />

Props:

* - mandatory

Props NameDescription
backgroundColorbackground colour applied to the container view
* swipeActiveindicates the directional move of the swiper
leftIconenables for true and disables for false
rightIconenables for true and disables for false
pulseColordescribes the color for the pulse
pulseCountdescribes the pulse count
pulseDiameterdescribes the pulse diameter
pulseSpeeddescribes the pulse speed
pulseDurationdescribes the pulse duration
imageStyleuser could define styles for image
imageSourcePathdescribes image path
imageSourceUridescribes image source uri

react-native-glow-pad-view