Add danger background to dangerous menu items on hover (#3148)

closes #3105
This commit is contained in:
Tom Moor
2022-02-19 18:13:05 -08:00
committed by GitHub
parent 4b688e4ca0
commit c1df8c2162
12 changed files with 44 additions and 12 deletions

View File

@@ -163,6 +163,7 @@ function Template({ items, actions, context, ...menu }: Props) {
onClick={item.onClick}
disabled={item.disabled}
selected={item.selected}
dangerous={item.dangerous}
key={index}
icon={item.icon}
{...menu}