Commit 162613c 1 parent 0a7337c commit 162613c Copy full SHA for 162613c
File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,21 @@ import { cn } from "src/utils"
12
12
13
13
const DropdownMenu = DropdownMenuPrimitive . Root
14
14
15
- const DropdownMenuTrigger = DropdownMenuPrimitive . Trigger
15
+
16
+
17
+
18
+
19
+ const DropdownMenuTrigger = React . forwardRef <
20
+ React . ElementRef < typeof DropdownMenuPrimitive . Trigger > ,
21
+ React . ComponentPropsWithoutRef < typeof DropdownMenuPrimitive . Trigger >
22
+ > ( ( { className, ...props } , ref ) => (
23
+ < DropdownMenuPrimitive . Trigger
24
+ ref = { ref }
25
+ className = { cn ( "bg-paper" , className ) }
26
+ { ...props }
27
+ />
28
+ ) )
29
+ DropdownMenuTrigger . displayName = DropdownMenuPrimitive . Trigger . displayName
16
30
17
31
const DropdownMenuGroup = DropdownMenuPrimitive . Group
18
32
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const TableRow = React.forwardRef<
58
58
< tr
59
59
ref = { ref }
60
60
className = { cn (
61
- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted" ,
61
+ "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted bg-paper " ,
62
62
className
63
63
) }
64
64
{ ...props }
You can’t perform that action at this time.
0 commit comments