Skip to content

Allow passthrough props on menu item, and always bubble highjacked events

Pre-release
Pre-release
Compare
Choose a tag to compare
@jeroenransijn 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.