diff --git a/README.md b/README.md index 7d269b8fc834da4235d07be02033a2bf9b77e47d..62d09feb922bcd34ae0b462fad3091d898ad41ad 100644 --- a/README.md +++ b/README.md @@ -9,37 +9,38 @@ #### Params -|Key | Description | Type | Default| -| --- | ----------- | ---- | ------ | -|pickerConfirmBtnText | |string |confirm | -|pickerCancelBtnText | |string |cancel | -|pickerTitleText | |string |pls select | -|pickerConfirmBtnColor | |array |[1, 186, 245, 1] | -|pickerCancelBtnColor | |array |[1, 186, 245, 1] | -|pickerTitleColor | |array |[20, 20, 20, 1] | -|pickerToolBarBg | |array |[232, 232, 232, 1] | -|pickerBg | |array |[196, 199, 206, 1] | -|pickerToolBarFontSize | |number |16 | -|wheelFlex | |array |[1, 1, 1] | -|pickerFontSize | |number |16 | -|pickerRowHeight | |number |24 | -|pickerFontColor | |array |[31, 31, 31, 1] | -|pickerData | |array | | -|selectedValue | |array | | -|onPickerConfirm | |function| | -|onPickerCancel | |function| | -|onPickerSelect | |function| | +|Key | Type | Default| Support | Description | +| --- | --- | ---- | ------ | ----------- | +|isLoop | Boolean | false | Android | | +|pickerConfirmBtnText | string | confirm | iOS/Android | | +|pickerCancelBtnText | string | cancel | iOS/Android | | +|pickerTitleText | string | pls select | iOS/Android | | +|pickerConfirmBtnColor | array | [1, 186, 245, 1] | iOS/Android | | +|pickerCancelBtnColor | array | [1, 186, 245, 1] | iOS/Android | | +|pickerTitleColor | array | [20, 20, 20, 1] | iOS/Android | | +|pickerToolBarBg | array | [232, 232, 232, 1] | iOS/Android | | +|pickerBg | array | [196, 199, 206, 1] | iOS/Android | | +|pickerToolBarFontSize | number | 16 | iOS/Android | | +|wheelFlex | array | [1, 1, 1] | iOS/Android | | +|pickerFontSize | number | 16 | iOS/Android | | +|pickerFontColor | array | [31, 31, 31, 1] | iOS/Android | | +|pickerRowHeight | number | 24 | iOS | | +|pickerData | array | | iOS/Android | | +|selectedValue | array | | iOS/Android | | +|onPickerConfirm | function| | iOS/Android | | +|onPickerCancel | function| | iOS/Android | | +|onPickerSelect | function| | iOS/Android | | #### Methods -|Name | Description | Type | Default| -| --- | ----------- | ---- | ------ | -|init |init and pass parameters to picker | | | -|toggle |show or hide picker | | | -|show |show picker | | | -|hide |hide picker | | | -|select |select a row |array| | -|isPickerShow |get status of picker, return a boolean | | | +|Key | Support | Description | +| --- | ---- | ----------- | +|init | iOS/Android |init and pass parameters to picker | +|toggle | iOS/Android |show or hide picker | +|show | iOS/Android |show picker | +|hide | iOS/Android |hide picker | +|select | iOS/Android |select a row | +|isPickerShow | iOS/Android |get status of picker, return a boolean | ### Usage diff --git a/package.json b/package.json index 4a25e0e60059bc7e502334500d2c1ad67974c1a7..e72531868d6b4cc171a35eac0f0ab178484c652a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-picker", - "version": "4.3.1", + "version": "4.3.2", "description": "A Native Picker with high performance.", "main": "index.js", "types": "index.d.ts",