]> git.immae.eu Git - github/fretlink/time-picker.git/commit
Add a noop onChange to remove react's warning
authorWei Zhu <yesmeck@gmail.com>
Sun, 19 Nov 2017 13:21:04 +0000 (21:21 +0800)
committerWei Zhu <yesmeck@gmail.com>
Sun, 19 Nov 2017 13:21:04 +0000 (21:21 +0800)
commitfdead5abeff4a9ebaf323a5f5e695c2044ba1651
tree970c17dbff927dc8de400166e5e01b634f09c950
parenta60ac4d8d3b9f527c10e5185265f322468781c81
Add a noop onChange to remove react's warning

> Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.
src/TimePicker.jsx