From 084cc2866357f1a7c756d2b663ea7e29bf7cb10d Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Sun, 15 Dec 2024 19:14:11 +0000 Subject: [PATCH] fix(): Update dropdown menu icon size. --- src/shadcn/ui/dropdown-menu.tsx | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/shadcn/ui/dropdown-menu.tsx b/src/shadcn/ui/dropdown-menu.tsx index 0d41819..cab1da1 100644 --- a/src/shadcn/ui/dropdown-menu.tsx +++ b/src/shadcn/ui/dropdown-menu.tsx @@ -2,13 +2,9 @@ import * as React from "react" import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" -import { - CheckIcon, - ChevronRightIcon, - DotFilledIcon, -} from "@radix-ui/react-icons" +import { Check, ChevronRight, Circle } from "lucide-react" -import { cn } from "src/utils" +import { cn } from "src" const DropdownMenu = DropdownMenuPrimitive.Root @@ -28,6 +24,7 @@ const DropdownMenuTrigger = React.forwardRef< )) DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName + const DropdownMenuGroup = DropdownMenuPrimitive.Group const DropdownMenuPortal = DropdownMenuPrimitive.Portal @@ -45,14 +42,14 @@ const DropdownMenuSubTrigger = React.forwardRef< {children} - + )) DropdownMenuSubTrigger.displayName = @@ -78,7 +75,7 @@ const DropdownMenuContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, sideOffset = 4, ...props }, ref) => ( - + - + )) DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName @@ -102,7 +99,7 @@ const DropdownMenuItem = React.forwardRef< svg]:size-4 [&>svg]:shrink-0", inset && "pl-8", className )} @@ -126,7 +123,7 @@ const DropdownMenuCheckboxItem = React.forwardRef< > - + {children} @@ -149,7 +146,7 @@ const DropdownMenuRadioItem = React.forwardRef< > - + {children}