@gm-mobile/c-react 3.9.7 → 3.9.8-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gm-mobile/c-react",
3
- "version": "3.9.7",
3
+ "version": "3.9.8-beta.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-mobile#readme",
@@ -21,9 +21,9 @@
21
21
  "url": "https://github.com/gmfe/gm-mobile/issues"
22
22
  },
23
23
  "dependencies": {
24
- "@gm-mobile/c-font": "^3.9.7",
25
- "@gm-mobile/c-tool": "^3.9.7",
26
- "@gm-mobile/locales": "^3.9.7"
24
+ "@gm-mobile/c-font": "^3.9.8-beta.0",
25
+ "@gm-mobile/c-tool": "^3.9.8-beta.0",
26
+ "@gm-mobile/locales": "^3.9.8-beta.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@tarojs/components": "3.0.18",
@@ -33,5 +33,5 @@
33
33
  "prop-types": "^15.7.2",
34
34
  "react": "^16.13.1"
35
35
  },
36
- "gitHead": "0899027d262122bf32d9d1ea09d3474fbd0247c5"
36
+ "gitHead": "6e1b6288b6de69f436106057325566565136e8dc"
37
37
  }
@@ -13,6 +13,7 @@ const ConfirmCouplingPickerBase: FC<ConfirmCouplingPickerProps> = ({
13
13
  values,
14
14
  onConfirm = _.noop,
15
15
  renderOption,
16
+ ...rest
16
17
  }) => {
17
18
  const [_values, setValues] = useState(values)
18
19
 
@@ -32,6 +33,7 @@ const ConfirmCouplingPickerBase: FC<ConfirmCouplingPickerProps> = ({
32
33
  values={values}
33
34
  renderOption={renderOption}
34
35
  onChange={handleValueChange}
36
+ {...rest}
35
37
  />
36
38
  <View className='m-margin-15'>
37
39
  <Button
@@ -38,6 +38,7 @@ type ConfirmPickerTypes = BasePickerTypes<ConfirmPickerProps>
38
38
 
39
39
  interface ConfirmCouplingPickerProps extends Omit<ConfirmPickerProps, 'datas'> {
40
40
  datas: Option[]
41
+ itemHeight?: number
41
42
  }
42
43
  type ConfirmCouplingPickerTypes = BasePickerTypes<ConfirmCouplingPickerProps>
43
44