css
Description
adds a custom style to the menuType
string
Example
<div>
<MenuBar {options} css={"mystyle"}></MenuBar>
</div>
<style>
:global(.wx-menu.mystyle) {
border: 1px solid black;
background-color: brown;
}
:global(.wx-menu.mystyle .wx-item) {
background-color: brown;
color: white;
}
</style>
Related article: Styling an item of MenuBar