This is my code. And I want to change the background color maintaining the hovering effect. How can I do that?
<CommandBar
styles={{
root: {
paddingLeft: 0,
paddingRight: 0,
selectors: {
"& .ms-OverflowSet-item:nth-child(4)": {
display: "flex",
flexGrow: 1,
},
},
},
}}
overflowItems={props.overflowItems}
items={props.items}
/>
Official documentation => https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar
Thanks in advance!