MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveClickButton

Function resolveClickButton

src/core/click-button.ts:10–12  ·  view source on GitHub ↗
(flags: ClickButtonFlags | undefined)

Source from the content-addressed store, hash-verified

8};
9
10export function resolveClickButton(flags: ClickButtonFlags | undefined): ClickButton {
11 return flags?.clickButton ?? 'primary';
12}
13
14export function getClickButtonValidationError(options: {
15 commandLabel: string;

Callers 4

handlePressCommandFunction · 0.90
handleMacOsSurfacePressFunction · 0.90
contextFromFlagsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected