diff --git a/src/components/common/dropdownmenu/DropdownMenu.tsx b/src/components/common/dropdownmenu/DropdownMenu.tsx index 6ed9aa8f..265de431 100644 --- a/src/components/common/dropdownmenu/DropdownMenu.tsx +++ b/src/components/common/dropdownmenu/DropdownMenu.tsx @@ -7,6 +7,8 @@ export type TMenuItem = { icon?: React.ReactNode; onClick: () => void; active?: boolean; + danger?: boolean; + labelClassName?: string; }; const easeOut = [0, 0, 0.2, 1] as const; @@ -114,9 +116,11 @@ export function DropdownMenu({ }} className={twMerge( "group flex w-full items-center justify-between rounded-2xl px-5 py-4 text-left font-body2 transition-ui-fast", - it.active - ? "bg-info-blue/10 text-info-blue" - : "text-text-body hover:bg-primary-100/50 hover:text-info-blue", + it.danger + ? "text-info-red hover:bg-info-red/10 hover:text-info-red" + : it.active + ? "bg-info-blue/10 text-info-blue" + : "text-text-body hover:bg-primary-100/50 hover:text-info-blue", )} >
@@ -124,9 +128,11 @@ export function DropdownMenu({