(props: { onOpen: () => void })
| 167 | } |
| 168 | |
| 169 | function CommandsButton(props: { onOpen: () => void }) { |
| 170 | return ( |
| 171 | // oxlint-disable-next-line react/forbid-elements |
| 172 | <button |
| 173 | type="button" |
| 174 | onClick={props.onOpen} |
| 175 | className="group flex w-full items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm text-sidebar-foreground transition-colors hover:bg-sidebar-active/60 hover:text-foreground" |
| 176 | > |
| 177 | <Command className="size-4 shrink-0" /> |
| 178 | <span className="flex-1 text-left">Commands</span> |
| 179 | <span className="font-mono text-[11px] text-muted-foreground">⌘K</span> |
| 180 | </button> |
| 181 | ); |
| 182 | } |
| 183 | |
| 184 | // ── IntegrationList ─────────────────────────────────────────────────────────── |
| 185 |
nothing calls this directly
no outgoing calls
no test coverage detected