Currently, I am developing a Next.js application and utilizing antd's Menu and Submenu components for my NavBar. My goal is to make the SubMenu items clickable links. How can I achieve this functionality?
<Menu className={styles.menuContainer} mode={mode} dashed={false}>
<Menu.Item key='setting:1'>
<Link href='/About'>About</Link>
</Menu.Item>
// Link this to '/resources'
<SubMenu key='SubMenu' title='Resources'>
<Menu.Item key='setting:2'>
<Link href='/blog'>Blog</Link>
</Menu.Item>
<Menu.Item key='setting:3'>
<Link href='/faq'>FAQ</Link>
</Menu.Item>
<Menu.Item key='setting:4'>
<Link href='/events'>
Events
</Link>
</Menu.Item>
</SubMenu>
</Menu>