e.stopPropagation()}
- {...props.context.itemContainerWithChildrenProps}
- {...props.context.interactiveElementProps}
- >
- {
+ const {
+ value: isHover,
+ setTrue: setIsHoverTrue,
+ setFalse: setIsHoverFalse,
+ } = useBoolean(false);
+
+ return (
+
+ e.stopPropagation()}
+ onMouseEnter={setIsHoverTrue}
+ onMouseLeave={setIsHoverFalse}
+ {...props.context.itemContainerWithChildrenProps}
+ {...props.context.interactiveElementProps}
>
- {props.item.hasChildren ? (
- props.arrow
- ) : (
-
- )}
-
- {props.title}
- {props.item.data.secondaryLabel && (
-
- {props.item.data.secondaryLabel}
-
- )}
-
- {props.context.isExpanded && props.children}
-
-