react-native-wheel-pick 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -122,6 +122,8 @@ onDateChange={(date: Date) => { console.log(date) }}
|
|
|
122
122
|
isShowSelectLine={false} // Default is true
|
|
123
123
|
selectLineColor='black'
|
|
124
124
|
selectLineSize={6} // Default is 4
|
|
125
|
+
|
|
126
|
+
isCyclic={true} // Support Infinitely Scrolling.
|
|
125
127
|
/>
|
|
126
128
|
|
|
127
129
|
// Android Only.
|
|
@@ -153,6 +155,10 @@ OR you can fork this project instead.
|
|
|
153
155
|
|
|
154
156
|
## Release Note
|
|
155
157
|
|
|
158
|
+
### 1.2.6 (Jul 5 2025)
|
|
159
|
+
[Android]
|
|
160
|
+
- Add support for `isCyclic` property on Android. (Infinitely Scrolling) Thanks to [@cip123](https://github.com/TronNatthakorn/react-native-wheel-pick/pull/67)
|
|
161
|
+
|
|
156
162
|
### 1.2.5 (Jun 14 2025)
|
|
157
163
|
[Android]
|
|
158
164
|
- Fix Android DatePicker time mode default selection issue and correct hour range. Thanks to [@harryxu](https://github.com/TronNatthakorn/react-native-wheel-pick/pull/66)
|
|
@@ -190,6 +190,14 @@ public class ReactWheelCurvedPickerManager extends SimpleViewManager<ReactWheelC
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
// @ReactProp(name="isCyclic")
|
|
194
|
+
@ReactProp(name="isCyclic")
|
|
195
|
+
public void setCyclic(ReactWheelCurvedPicker picker, boolean isCyclic) {
|
|
196
|
+
if (picker != null) {
|
|
197
|
+
picker.setCyclic(isCyclic);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
193
201
|
@Override
|
|
194
202
|
public String getName() {
|
|
195
203
|
return REACT_CLASS;
|