You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply animation on button width and corner, like visualized as converting the rectangle to circle shape and visa versa.
Support to border [type(line, dot, dash), width, color].
Support Animation duration, alpha with morphing.
Support custom spinner.
*Thegradientline's angle of direction. A value of 0deg is equivalent to to top; increasing values rotate clockwise from there.
123
+
* The angle range of 0 to 360.
124
+
* [More detail to read](https://www.quirksmode.org/css/images/angles.html)
125
+
15. **gradientRadialRadius**
126
+
* This property used for Radial type gradient in set radius of radial gradient.
127
+
16. **gradientButtonHeight**
128
+
* The size of the gradient component.
129
+
* Default type: number
130
+
17. **radialRadiusx**
131
+
* The x coordinate of the center of the radial gradient.
132
+
18. **radialRadiusy**
133
+
* The y coordinate of the center of the radial gradient.
134
+
19. **radialRadiusRX**
135
+
* The horizontal radius of the radial gradient defining ellipse.
136
+
20. **radialRadiusRY**
137
+
* The vertical radius of the radial gradient defining ellipse.
138
+
21. **animatedDuration**
139
+
* Used for animation time, how long you have to execute your animation.
140
+
22. **customSpinnerComponent**
141
+
* This props will allow you to add your own custom spinner component.
142
+
23. **animateWidth**
143
+
* This props used to set component width when progress/loading will start..
144
+
* If you want to not set this props then identify width and height which is minimum and then used that value.
145
+
24. **animateHeight**
146
+
* This props used to set component height when progress/loading will start.
147
+
* If you want to not set this props then identify width and height which is minimum and then used that value.
148
+
25. **animateRadius**
149
+
* This props used to set component radius when progress/loading will start.
150
+
* If you want to not set this props then create circle shape.
151
+
26. **isConnected**
152
+
* The flag to identify network connection and based on flag set user iteration. _false_ will render button with disable mode and _true_ will render button with normal mode.
153
+
* Default type: boolean
154
+
* Default value: _true_
155
+
27. **isDisable**
156
+
* The flag to identify button enable/disable. _true_ will render button with disable mode and _false_ will render button with normal mode.
157
+
* Default type: boolean
158
+
* Default value: _false_
159
+
28. **disableStyle**
160
+
* Its a stylesheet object.
161
+
* This style apply when identify button disable or if network connect not available.
162
+
* Default value: null | undefined
98
163
99
164
## Example
100
165
A full working example project is here [Example](https://github.com/simformsolutions/react-native-spinner-button/tree/master/Example)
@@ -104,6 +169,11 @@ Don't forget to set the state variable you have given to _isLoading_ prop false
0 commit comments