css
Description
Optional. Adds a custom style to the menuUsage
css?: string;
Example
<div>
<Menu options={options} css="mystyle" />
</div>
/* in your global CSS file (or imported CSS) */
.wx-menu.mystyle {
border: 1px solid black;
background-color: brown;
}
.wx-menu.mystyle .wx-item {
background-color: brown;
color: white;
}
Related article: Styling an item of Menu