javascript – React Router with – Ant Design Sider: how to populate content section with components for relevant menu item

I’m trying to use AntD menu sider like a tab panel. I want to put components inside the content so that the content panel renders the related component when a menu item is clicked. How do I get this structure to take components as the content for each menu item? import React from ‘react’; import … Read more