PropType warnings for not required props
daryaskopyuk opened this issue · comments
daryaskopyuk commented
In the latest version of rheostat I receive prop type warnings for not required props that are not passed to <Rheostat />
component. These props are: handle
, background
, progressBar
.
For example, for the component...
<RangeSlider
min={0}
max={100}
values={[min, max]}
snap={true}
/>
...there are warnings like this:
As far as we investigated this issue, these warnings appear when react-with-styles
dependency has version 4.2.0
. When we pin it to 4.1.0
warnings are not present.
Jordan Harband commented
cc @noratarano @lencioni; v4.2.0 of react-with-styles caused breaking changes in react-dates, and appears to be doing the same here. can someone look into that?