MCPcopy Create free account
hub / github.com/WarFrontIO/client / buildButton

Function buildButton

src/ui/type/TextNode.ts:98–102  ·  view source on GitHub ↗
(text: string, type: "primary" | "secondary" | "danger" | "success" = "primary", ...classes: string[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

MainMenu.tsFile · 0.90
DebugList.tsFile · 0.90
SettingsPanel.tsFile · 0.90
GameHud.tsFile · 0.90

Calls 2

setTextMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected