({ children }: CardActionsProps)
| 31 | children: React.ReactNode; |
| 32 | } |
| 33 | export function CardActions({ children }: CardActionsProps) { |
| 34 | return ( |
| 35 | <div className="absolute right-2 top-2 z-10"> |
| 36 | <DropdownMenu> |
| 37 | <DropdownMenuTrigger className="flex h-8 w-8 items-center justify-center rounded hover:border"> |
| 38 | <MoreHorizontal size={16} /> |
| 39 | </DropdownMenuTrigger> |
| 40 | <DropdownMenuContent align="end" className="w-[200px]"> |
| 41 | <DropdownMenuGroup>{children}</DropdownMenuGroup> |
| 42 | </DropdownMenuContent> |
| 43 | </DropdownMenu> |
| 44 | </div> |
| 45 | ); |
| 46 | } |
| 47 | |
| 48 | export const CardActionsItem = DropdownMenuItem; |
nothing calls this directly
no outgoing calls
no test coverage detected