aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJulian <andrewjurai@gmail.com>2018-03-10 12:23:40 -0500
committerJulian <andrewjurai@gmail.com>2018-03-10 12:23:40 -0500
commit4dc88036b4a4e077a5e7d5208ea3d100816a8a25 (patch)
tree1061d8777cb605d1e036764432740c599c896343
parent0414a01666ca1a4b8f6ed25fff0150f4b1eb6d6f (diff)
downloadtime-picker-4dc88036b4a4e077a5e7d5208ea3d100816a8a25.tar.gz
time-picker-4dc88036b4a4e077a5e7d5208ea3d100816a8a25.tar.zst
time-picker-4dc88036b4a4e077a5e7d5208ea3d100816a8a25.zip
update README
-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) {