You can use the Menu as a navigational component by wiring it with any router library.
- Set the
dataproperty of each Menu item to the corresponding route path.
- Upon the selection of a Menu item, read the route path from the
dataproperty and push it to
- The component that is passed through
props.childrencorresponds to the new route path.