MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / CommandsButton

Function CommandsButton

packages/react/src/multiplayer/shell.tsx:169–182  ·  view source on GitHub ↗
(props: { onOpen: () => void })

Source from the content-addressed store, hash-verified

167}
168
169function 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected