Failed prop type: Invalid prop `progressBar` supplied to `Rheostat`
See original GitHub issueI get this warning messages in console when using rheostat
Warning: Failed prop type: Invalid prop progressBar
supplied to Rheostat
.
Warning: Failed prop type: Invalid prop progressBar
supplied to withStyles(Rheostat)
.
Can somebody explain me why I receive this warnings ?
I’m using a custom progressBar element and I had to use register a custom theme in order to have rheostat and react-calendar to work together
ThemedStyleSheet.registerTheme({
rheostat: {
...RheostatDefaultTheme.rheostat,
color: {
...RheostatDefaultTheme.rheostat.color,
progressBar: 'red',
},
},
reactDates: {
...ReactDatesDefaultTheme.reactDates,
},
});
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Failed propType: Invalid prop `component` supplied to `Route ...
I'm trying new react-router 1.0.0 and I'm getting strange warnings I can't explain: Warning: Failed propType: Invalid prop `component` supplied to `Route ...
Read more >Rheostat PropType Errors and Context API Legacy Error
Describe the bug . I'm currently working with React Instantsearch. While using the RangeSlider widget using Rheostat with React, ...
Read more >invalid prop `rows` of type `object` supplied to `forwardref ...
failed prop type : invalid prop `rows` of type `object` supplied to `forwardref(datagrid)`, expected `array`. Clear input field icon. Search query.
Read more >Rheostat - Airbnb Engineering & Data Science
Custom class name that will be applied to the root of Rheostat. className: PropTypes.string. Custom React component overrides for both the handles, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot, by defining my component like below, I have no more warnings.
Well it’s strange because the (left) position is set by the “style” props but for a reason I don’t know, the function is not receiving the updated “style” props on drag and drop event
On Wed, Jan 23, 2019 at 6:06 PM Jordan Harband notifications@github.com wrote:
– Jean Chapelle