A time picker for your React app.
MIT License
aria-label
s on each input and button. More on that in README.amPm
mistakenly required when there is a possibility of it being null if value
is null too (#31).fill
properties.format
prop which allows to overwrite default time format determined either from locale
prop or automatically. See README for details.document.body
) on both axis (unlike previously, just on Y axis).src
directory instead of default dist
, Parcel will properly recognize it and use proper Babel configuration.zh-CN
locale.See Upgrade guide from version 2.x to 3.x.
<span />
element with react-time-picker__inputGroup__leadingZero
class name for easier styling.TimeInput
component that will allow for more refined styling of React-Time-Picker along with React-DateTime-Picker and React-TimeRange-Picker.onClick
, onKeyDown
...) directly to React-Time-Picker root.clockIcon
and clearIcon
.get-user-locale
dependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.disableClock
flag that, well, disables clock (#9, #10). Thanks, @twinraven!minTime="23:41:20"
and maxDetail="hour"
).get-user-locale
to get user's locale data. This should be more reliable, especially on macOS/iOS prior to 10.2.onChange
with null
value, just like clearing it with clear button does.All dependencies have been updated and new Airbnb ESLint rules have been enforced.
zh-CN
.Updated react-lifecycles-compat to the newest version. There are no user- or developer-facing changes.
Published by wojtekmaj over 6 years ago
Emergency update to fix common issues that were caused by breaking changes introduced in React 16.4.0.
clearIcon
and clockIcon
by setting them explicitly to null
.