(e: MouseEvent)
| 18 | const { t } = useI18n() |
| 19 | |
| 20 | if (commands.length === 0) return null |
| 21 | |
| 22 | return ( |
| 23 | <> |
| 24 | {/* 分隔线 */} |
| 25 | <div className="w-px h-4 bg-terminal-border mx-1 shrink-0" /> |
| 26 | |
| 27 | <Menu> |
| 28 | <MenuTrigger className="group mx-1 flex shrink-0 items-center gap-1.5 rounded px-2.5 py-1 text-xs font-medium text-terminal-muted-foreground transition-colors hover:bg-terminal-accent hover:text-terminal-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-terminal-muted-foreground data-[state=open]:bg-terminal-accent data-[state=open]:text-terminal-foreground"> |
nothing calls this directly
no outgoing calls
no test coverage detected