diff options
author | Wei Zhu <yesmeck@gmail.com> | 2017-11-19 21:21:04 +0800 |
---|---|---|
committer | Wei Zhu <yesmeck@gmail.com> | 2017-11-19 21:21:04 +0800 |
commit | fdead5abeff4a9ebaf323a5f5e695c2044ba1651 (patch) | |
tree | 970c17dbff927dc8de400166e5e01b634f09c950 /tests/index.js | |
parent | a60ac4d8d3b9f527c10e5185265f322468781c81 (diff) | |
download | time-picker-fdead5abeff4a9ebaf323a5f5e695c2044ba1651.tar.gz time-picker-fdead5abeff4a9ebaf323a5f5e695c2044ba1651.tar.zst time-picker-fdead5abeff4a9ebaf323a5f5e695c2044ba1651.zip |
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`.
Diffstat (limited to 'tests/index.js')
0 files changed, 0 insertions, 0 deletions