File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import DxcIcon from "../icon/Icon";
55import { TooltipWrapper } from "../tooltip/Tooltip" ;
66import { useItemAction } from "./useItemAction" ;
77
8- const Action = styled . button < {
8+ const Action = styled . a < {
99 depthLevel : ItemActionProps [ "depthLevel" ] ;
1010 selected : ItemActionProps [ "selected" ] ;
1111 displayGroupLines : boolean ;
@@ -79,7 +79,7 @@ const Control = styled.span`
7979` ;
8080
8181const ItemAction = memo (
82- forwardRef < HTMLButtonElement , ItemActionProps > ( ( props , ref ) => {
82+ forwardRef < HTMLAnchorElement , ItemActionProps > ( ( props , ref ) => {
8383 const {
8484 hasTooltip,
8585 modifiedBadge,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ type MenuItemProps = {
6161 item : ItemWithId | GroupItemWithId ;
6262 depthLevel ?: number ;
6363} ;
64- type ItemActionProps = ButtonHTMLAttributes < HTMLButtonElement > & {
64+ type ItemActionProps = ButtonHTMLAttributes < HTMLAnchorElement > & {
6565 badge ?: Item [ "badge" ] ;
6666 collapseIcon ?: ReactNode ;
6767 depthLevel : number ;
You can’t perform that action at this time.
0 commit comments