How can I extend the route component to incorporate custom props?
I’m looking to augment react-router-dom’s Route with custom properties. Each route should include a ‘name’ attribute, which will serve as a description displayed at the top of the page.