A time range picker for your React app.
MIT License
❗️ = breaking change
closeClock
prop which, when set to false
, will overwrite default behavior of Clock closing on value selection (#20).rangeDivider
prop which you may use to overwrite default divider between the two hours (#13).autoFocus
prop. More details in README.role="presentation"
from TimeInput which may have caused accessibility issues. Thanks, @emilyuhde!aria-label
s on each input and button. See README for details.format
prop which allows to overwrite default time format determined either from locale
prop or automatically. See README for details.amPm
mistakenly required when there is a possibility of it being null if value
is null too.fill
properties.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.See Upgrade guide from version 1.x to 2.x.
<span />
element with react-timerange-picker__inputGroup__leadingZero
class name for easier styling.TimeInput
component now all have class names separate from React-Time-Picker (react-timerange-picker__...
instead of react-time-picker__...
).onClick
, onKeyDown
...) directly to React-TimeRange-Picker root.clockIcon
and clearIcon
.