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

@@ -7,6 +7,7 @@ export type MenuItemButton = {
type: "button";
title: React.ReactNode;
onClick: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
dangerous?: boolean;
visible?: boolean;
selected?: boolean;
disabled?: boolean;