aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--src/TimePicker.jsx2
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3baa0ce..c0ce889 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ API
60| value | moment | null | current value | 60| value | moment | null | current value |
61| placeholder | String | '' | time input's placeholder | 61| placeholder | String | '' | time input's placeholder |
62| className | String | '' | time picker className | 62| className | String | '' | time picker className |
63| id | String | '' | time picker id |
63| popupClassName | String | '' | time panel className | 64| popupClassName | String | '' | time panel className |
64| showHour | Boolean | true | whether show hour | | 65| showHour | Boolean | true | whether show hour | |
65| showMinute | Boolean | true | whether show minute | 66| showMinute | Boolean | true | whether show minute |
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx
index 6de48b3..26166f4 100644
--- a/src/TimePicker.jsx
+++ b/src/TimePicker.jsx
@@ -66,6 +66,7 @@ export default class Picker extends Component {
66 style: {}, 66 style: {},
67 className: '', 67 className: '',
68 popupClassName: '', 68 popupClassName: '',
69 id: '',
69 align: {}, 70 align: {},
70 defaultOpenValue: moment(), 71 defaultOpenValue: moment(),
71 allowEmpty: true, 72 allowEmpty: true,
@@ -86,7 +87,6 @@ export default class Picker extends Component {
86 use12Hours: false, 87 use12Hours: false,
87 focusOnOpen: false, 88 focusOnOpen: false,
88 onKeyDown: noop, 89 onKeyDown: noop,
89 id: '',
90 }; 90 };
91 91
92 constructor(props) { 92 constructor(props) {