Skip to content

Commit a37369f

Browse files
committed
publish
1 parent 09ecdf8 commit a37369f

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<a name="1.5.0"></a>
2+
# [1.5.0](https://github.com/xgfe/react-native-datepicker/compare/v1.4.7...v1.5.0) (2017-05-15)
3+
4+
5+
### Features
6+
7+
* **datepicker:** Add onPressMask prop for ios ([#120](https://github.com/xgfe/react-native-datepicker/issues/120), [09ecdf8](https://github.com/xgfe/react-native-datepicker/commit/09ecdf8))
8+
* **datepicker:** Ability to pass icon component with `iconComponent` property ([#124](https://github.com/xgfe/react-native-datepicker/issues/124), [35150ed](https://github.com/xgfe/react-native-datepicker/commit/35150ed))
9+
10+
### Bug Fixes
11+
12+
* **datepicker:** Fix onCloseModal for android ([#122](https://github.com/xgfe/react-native-datepicker/issues/122), [ba55c06](https://github.com/xgfe/react-native-datepicker/commit/ba55c06))
13+
14+
115
<a name="1.4.7"></a>
216
## [1.4.7](https://github.com/xgfe/react-native-datepicker/compare/v1.4.6...v1.4.7) (2017-04-13)
317

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,14 @@ You can check [index.js](https://github.com/xgfe/react-native-datepicker/blob/ma
8282
| duration | 300 | `number` | Specify the animation duration of datepicker.|
8383
| customStyles | - | `number` | The hook of customize datepicker style, same as the native style. `dateTouchBody`, `dateInput`...|
8484
| showIcon | true | `boolean` | Controller whether or not show the icon |
85+
| iconComponent | - | `element` | Set the custom icon |
8586
| disabled | false | `boolean` | Controller whether or not disable the picker |
8687
| is24Hour | - | `boolean` | Set the TimePicker is24Hour flag. The default value depend on `format`. Only work in Android |
8788
| placeholder | '' | `string` | The placeholder show when this.props.date is falsy |
8889
| onDateChange | - | `function` | This is called when the user confirm the picked date or time in the UI. The first and only argument is a date or time string representing the new date and time formatted by [moment.js](http://momentjs.com/) with the given format property. |
8990
| onOpenModal | - | `function` | This is called when the DatePicker Modal open. |
9091
| onCloseModal | - | `function` | This is called when the DatePicker Modal close |
92+
| onPressMask | - | `function` | This is called when clicking the ios modal mask |
9193
| modalOnResponderTerminationRequest | - | `function` | Set the callback for React Native's [Gesture Responder System](https://facebook.github.io/react-native/docs/gesture-responder-system.html#responder-lifecycle)'s call to `onResponderTerminationRequest`. By default this will reject a termination request, but can be overidden in case the View under the Modal is implementing custom gesture responders, and you wish for those to be overidden in certain cases. |
9294

9395
### Property `customStyles` available keys

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-datepicker",
3-
"version": "1.4.7",
3+
"version": "1.5.0",
44
"description": "react native datePicker component for both Android and IOS, useing DatePikcerAndroid, TimePickerAndroid and DatePickerIOS",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)