MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / labeledValue

Function labeledValue

packages/core/src/widgets/debugPanel.ts:127–132  ·  view source on GitHub ↗

* Create a labeled value row.

(label: string, value: string, valueStyle: TextStyle = VALUE_STYLE)

Source from the content-addressed store, hash-verified

125 * Create a labeled value row.
126 */
127function labeledValue(label: string, value: string, valueStyle: TextStyle = VALUE_STYLE): VNode {
128 return ui.row({ gap: 1 }, [
129 ui.text(`${label}:`, { style: LABEL_STYLE }),
130 ui.text(value, { style: valueStyle }),
131 ]);
132}
133
134/**
135 * Create a debug panel widget.

Callers 1

debugPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected