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
- Add `react-native-image-helper` to your app package.json
32
+
33
+
`$ npm install react-native-image-helper --save`
34
+
35
+
- Add `react-native-vector-icons` to your app package.json and configure it as per their installation steps
36
+
37
+
`$ npm install react-native-vector-icons --save`
38
+
39
+
-**iOS**
40
+
41
+
- Add the following to your `Podfile` -> `ios/Podfile` and run pod update:
42
+
43
+
```
44
+
use_native_modules!
45
+
pod 'RNShineButton', :path => '../node_modules/react-native-shine-button/ios'
46
+
47
+
use_frameworks!
48
+
pod 'WCLShineButton',:git => 'https://github.com/prscX/WCLShineButton.git', :branch =>'master'
49
+
```
50
+
51
+
-**Android**
52
+
53
+
Please add below snippet into your app `build.gradle`
54
+
55
+
```
56
+
allprojects {
57
+
repositories {
58
+
maven { url 'https://jitpack.io' }
59
+
}
60
+
}
61
+
```
62
+
31
63
## **RN61 >= RNBAS V1 >**
32
64
33
65
> RN61+ please use `react-native-shine-button` V1 and above
34
66
35
67
-**iOS**
36
68
37
-
- Add the following to your `Podfile` -> `ios/Podfile` and run pod update:
69
+
- Add the following to your `Podfile` -> `ios/Podfile` and run pod update:
38
70
39
-
```
40
-
use_native_modules!
71
+
```
72
+
use_native_modules!
41
73
pod 'RNShineButton', :path => '../node_modules/react-native-shine-button/ios'
42
74
43
75
use_frameworks!
44
76
pod 'WCLShineButton',:git => 'https://github.com/prscX/WCLShineButton.git', :branch =>'master'
45
-
```
77
+
```
46
78
47
79
-**Android**
48
80
@@ -58,16 +90,14 @@ allprojects {
58
90
59
91
## **RN60 < RNBAS V1 <**
60
92
61
-
> RN60 below please use `react-native-bottom-action-sheet` V.0.*
62
-
93
+
> RN60 below please use `react-native-bottom-action-sheet` V.0.\*
63
94
64
95
-`$ npm install react-native-shine-button --save`
65
96
66
97
-`$ react-native link react-native-shine-button`
67
98
68
99
-`$ react-native link react-native-vector-icons`
69
100
70
-
71
101
#### Android
72
102
73
103
- Please add below snippet to `defaultConfig` in your app `build.gradle`file. This is with respect to [ISSUE: 1](https://github.com/prscX/react-native-shine-button/issues/1):
@@ -98,45 +128,53 @@ allprojects {
98
128
}
99
129
}
100
130
```
101
-
> **Note:** This library is supported on Android SDK 27 > above
102
131
132
+
> **Note:** This library is supported on Android SDK 27 > above
103
133
104
134
#### iOS
105
-
- After `react-native link react-native-shine-button`, please verify `node_modules/react-native-shine-button/ios/` contains `Pods` folder. If does not exist please execute `pod install` command on `node_modules/react-native-shine-button/ios/`, if any error => try `pod repo update` then `pod install`
106
-
- After verification, open your project and create a folder 'RNShineButton' under Libraries.
107
-
- Drag `node_modules/react-native-shine-button/ios/pods/Pods.xcodeproject` into RNShineButton, as well as the RNShineButton.xcodeproject if it does not exist.
108
-
- Add the `WCLShineButton.framework` into your project's `Embedded Binaries` and make sure the framework is also in linked libraries.
109
-
- Go to your project's `Build Settings -> Framework Search Path` and set `$(inherited) to recursive`.
110
135
111
-
<imgsrc="assets/setup.gif" />
136
+
- After `react-native link react-native-shine-button`, please verify `node_modules/react-native-shine-button/ios/` contains `Pods` folder. If does not exist please execute `pod install` command on `node_modules/react-native-shine-button/ios/`, if any error => try `pod repo update` then `pod install`
137
+
- After verification, open your project and create a folder 'RNShineButton' under Libraries.
138
+
- Drag `node_modules/react-native-shine-button/ios/pods/Pods.xcodeproject` into RNShineButton, as well as the RNShineButton.xcodeproject if it does not exist.
139
+
- Add the `WCLShineButton.framework` into your project's `Embedded Binaries` and make sure the framework is also in linked libraries.
140
+
- Go to your project's `Build Settings -> Framework Search Path` and set `$(inherited) to recursive`.
-**RN Vector Icons:** It supports [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons) library. Please find below snippet for the usage:
|`shape`|`string OR react-native-vector-icons`|| The type of Shine Button you want. It's props are heart, like, star, smile. Even you are specify a react-native-vector-icons |
157
-
|`color`|`string: HEX-COLOR`|| Color which you want then the Shine Button is not active |
158
-
|`fillColor`|`string: HEX-COLOR`|| Fill Color then the Shine Button is clicked |
159
-
|`size`|`number`|| Size of Shine Button ||
160
-
|`disabled`|`bool`|| Disabling the Shine Button ||
161
-
| `value` | `bool` | | Default value whether it is selected or not
162
-
| `onChange` | `func` | | It is invoke then the value of shine button is change
|`shape`|`string OR react-native-vector-icons`|| The type of Shine Button you want. It's props are heart, like, star, smile. Even you are specify a react-native-vector-icons |
193
+
|`color`|`string: HEX-COLOR`|| Color which you want then the Shine Button is not active |
194
+
|`fillColor`|`string: HEX-COLOR`|| Fill Color then the Shine Button is clicked |
195
+
|`size`|`number`|| Size of Shine Button ||
196
+
|`disabled`|`bool`|| Disabling the Shine Button ||
197
+
|`value`|`bool`|| Default value whether it is selected or not |
198
+
|`onChange`|`func`|| It is invoke then the value of shine button is change |
Have an idea? Found a bug? Please raise to [ISSUES](https://github.com/prscX/react-native-bottom-action-sheet/issues).
172
208
Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
173
209
174
210
## 💫 Where is this library used?
175
-
If you are using this library in one of your projects, add it in this list below. ✨
176
211
212
+
If you are using this library in one of your projects, add it in this list below. ✨
177
213
178
214
## 📜 License
215
+
179
216
This library is provided under the Apache License.
180
217
181
218
RNShineButton @ [prscX](https://github.com/prscX)
182
219
183
220
## 💖 Support my projects
221
+
184
222
I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
185
223
186
224
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
187
-
* Starring and sharing the projects you like 🚀
188
-
* If you're feeling especially charitable, please follow [prscX](https://github.com/prscX) on GitHub.
225
+
226
+
- Starring and sharing the projects you like 🚀
227
+
- If you're feeling especially charitable, please follow [prscX](https://github.com/prscX) on GitHub.
189
228
190
229
<ahref="https://www.buymeacoffee.com/prscX"target="_blank"><imgsrc="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png"alt="Buy Me A Coffee"style="height: auto!important;width: auto!important;" ></a>
0 commit comments