ant-design/components/menu/demo/submenu-theme.md

8 lines
335 B
Markdown
Raw Normal View History

## zh-CN
2022-04-20 19:03:39 +08:00
你可以通过 `theme` 属性来设置 SubMenu 的主题从而达到不同目录树下不同主题色的效果。该例子默认为根目录深色,子目录浅色效果。
## en-US
2022-04-20 19:03:39 +08:00
You can config SubMenu theme with `theme` prop to enable different theme color effect. This sample is dark for root and light for SubMenu.