(child: SidebarItem)
| 116 | } |
| 117 | |
| 118 | renderChild(child: SidebarItem) { |
| 119 | return ( |
| 120 | <li |
| 121 | onClick={() => this.select(child)} |
| 122 | class={classNames( |
| 123 | 'py-1 h-9 indent-10 rounded hover:bg-accent flex items-center text-sm text-zinc-500 dark:text-zinc-200 cursor-pointer', |
| 124 | { |
| 125 | 'bg-accent': this.state.active === child.value, |
| 126 | }, |
| 127 | )} |
| 128 | > |
| 129 | <a href="javascript:void()" class="flex items-center space-x-2 whitespace-nowrap"> |
| 130 | <span>{child.text}</span> |
| 131 | </a> |
| 132 | </li> |
| 133 | ) |
| 134 | } |
| 135 | |
| 136 | renderToolTipChild(child: SidebarItem) { |
| 137 | return ( |
no test coverage detected