Allow passthrough props on menu item, and always bubble highjacked events
Pre-release
Pre-release
jeroenransijn
released this
18 Jul 17:21
·
656 commits
to master
since this release
Menu
PR #231
This release enhances the Menu.Item
component to allow for unknown (user-defined) props in order to fully support using the is={MyCustomComponent}
prop.
It also changes the behavior of all event handlers that we are hooking into so that we always ensure we bubble those events to consumer props.