Skip to content

Commit

Permalink
release(0.3.15)
Browse files Browse the repository at this point in the history
  • Loading branch information
thodubois committed Nov 14, 2021
1 parent 38e3baa commit 82cfe55
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,17 @@ const ExampleApp = (): JSX.Element => {

### Picker

| Name | type | Required | Description |
| ----------------------- | ------------------------------------------ | -------- | ------------------------------------------------- |
| **item** | PickerItem ({ label: string, value: any }) | true | Configure the current selected item |
| **placeholder** | string | false | Configure the picker label if no item is selected |
| **onItemChange** | (item: PickerItem, index: number) => void; | true | Add listener on change event |
| **items** | Array<PickerItem> | true | Configure the list of available items |
| **mode** (Android Only) | "dialog" or "dropdown" | false | Configure the android picker mode |

### DatePicker specific
| Name | type | Required | Description |
| ----------------------- | ------------------------------------------ | -------- | ---------------------------------------------------------------------------------------- |
| **item** | PickerItem ({ label: string, value: any }) | true | Configure the current selected item |
| **placeholder** | string | false | Configure the picker label if no item is selected |
| **onItemChange** | (item: PickerItem, index: number) => void; | true | Add listener on change event |
| **items** | Array<PickerItem> | true | Configure the list of available items |
| **mode** (Android Only) | "dialog" or "dropdown" | false | Configure the android picker mode |
| **itemFontFamily** | string | false | Configure the default font family for items (each item can have a `fontFamily` property) |
| **itemColor** | string | false | Configure the default color for items (each item can have a `color` property) |

### DatePicker

| Name | type | Required | Description |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion example/ExampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@react-native-picker/picker": "^2.1.0",
"react": "17.0.2",
"react-native": "0.66.1",
"react-native-woodpicker": "^0.3.14"
"react-native-woodpicker": "^0.3.15"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down
8 changes: 4 additions & 4 deletions example/ExampleApp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5337,10 +5337,10 @@ react-native-codegen@^0.0.7:
jscodeshift "^0.11.0"
nullthrows "^1.1.1"

react-native-woodpicker@^0.3.14:
version "0.3.14"
resolved "https://registry.yarnpkg.com/react-native-woodpicker/-/react-native-woodpicker-0.3.14.tgz#1333b3c2db20e0fcad7aef7f88ef93417274f1dd"
integrity sha512-V6kJVPsIAGNLp6TzRjvo7qDIz9b6DbbJtF8ZVeYFFEmXAoQkam5Z9B4j0PRYGiV0nw4Cd6c2DJNo5hAueGtS+Q==
react-native-woodpicker@^0.3.15:
version "0.3.15"
resolved "https://registry.yarnpkg.com/react-native-woodpicker/-/react-native-woodpicker-0.3.15.tgz#78814295d2462e0cfb54e68c66670e85ddccef29"
integrity sha512-aBRN4XUo7etiH8luZSnuIE3I7uq/uWcxGv64oKJgVxktE7P5fFmcNti3IzXcfKA0hWfvkInkFai1Ewe5x1ZOog==

react-native@0.66.1:
version "0.66.1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-woodpicker",
"version": "0.3.14",
"version": "0.3.15",
"description": "React Native picker and date picker for iOS and Android",
"type": "module",
"main": "./dist/index.js",
Expand Down

0 comments on commit 82cfe55

Please sign in to comment.