pull/5370/head
filip mertens 11 months ago
parent 7f34e88c07
commit eebd802a79
  1. 1
      libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx

@ -17,6 +17,7 @@ export const TreeViewItem = (props: TreeViewItemProps) => {
key={`treeViewDiv${id}`}
data-id={`treeViewDiv${id}`}
className={`d-flex flex-row align-items-center ${labelClass}`}
onClick={() => !controlBehaviour && setIsExpanded(!isExpanded)}
>
{children && showIcon ? (
<div className={isExpanded ? `pl-2 ${iconY}` : `pl-2 ${iconX} caret caret_tv`} style={{visibility: children ? 'visible' : 'hidden'}}></div>

Loading…
Cancel
Save