@momo-kits/date-picker 0.0.66-alpha.2 → 0.0.66-alpha.3
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/datePicker/WheelPicker.js +4 -3
- package/package.json +14 -14
|
@@ -261,11 +261,11 @@ export default class WheelPicker extends Component {
|
|
|
261
261
|
{this.renderHiddenItem(this.numberItem, this.heightItem)}
|
|
262
262
|
{items.map((valueItem, index) => (
|
|
263
263
|
<View
|
|
264
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
265
|
-
key={index}
|
|
264
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
266
265
|
accessibilityLabel={
|
|
267
|
-
value === index ? `
|
|
266
|
+
value === index ? `Select ${preFix}/Selected` : ''
|
|
268
267
|
}
|
|
268
|
+
key={index}
|
|
269
269
|
style={{
|
|
270
270
|
flex: 1,
|
|
271
271
|
height: this.heightItem,
|
|
@@ -279,6 +279,7 @@ export default class WheelPicker extends Component {
|
|
|
279
279
|
fontSize: value === index ? ScaleSize(20) : ScaleSize(16),
|
|
280
280
|
}}>
|
|
281
281
|
{valueItem}
|
|
282
|
+
{/* {reversePreFix ? `${valueItem} ${preFix}` : `${preFix} ${valueItem}`} */}
|
|
282
283
|
</Text>
|
|
283
284
|
</View>
|
|
284
285
|
))}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"name": "@momo-kits/date-picker",
|
|
3
|
+
"version": "0.0.66-alpha.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"dependencies": {},
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"@momo-kits/core": ">=0.0.5-beta",
|
|
9
|
+
"lodash": "^4.17.15",
|
|
10
|
+
"prop-types": "^15.7.2",
|
|
11
|
+
"react": "16.9.0",
|
|
12
|
+
"react-native": ">=0.55"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {},
|
|
15
|
+
"license": "MoMo"
|
|
16
16
|
}
|