aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Header.spec.jsx
diff options
context:
space:
mode:
authorWei Zhu <yesmeck@gmail.com>2017-11-19 21:21:04 +0800
committerWei Zhu <yesmeck@gmail.com>2017-11-19 21:21:04 +0800
commitfdead5abeff4a9ebaf323a5f5e695c2044ba1651 (patch)
tree970c17dbff927dc8de400166e5e01b634f09c950 /tests/Header.spec.jsx
parenta60ac4d8d3b9f527c10e5185265f322468781c81 (diff)
downloadtime-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/Header.spec.jsx')
0 files changed, 0 insertions, 0 deletions