react-bootstrap
react-bootstrap copied to clipboard
PropTypes of wrapped uncontrollable components to not bubble up
Describe the bug
PropTypes such as componentClass property of DropdownButton are not visible. This prevents development tools from doing their job.
To Reproduce
Steps to reproduce the behavior:
- Go to https://react-bootstrap-v3.netlify.app/components/dropdowns/
- Scroll down to page bottom
- 'componentClass' is not in the list of DropdownButton props
Expected behavior
Since componentClass is a valid PropType inherited from Dropdown, it should show.
Additional context
It seems the issue relates to the use of uncontrollable.js, which only bubbles up designated PropTypes Not sure if the fix should take place in uncontrollable.js itself or in its usage.