MCPcopy
hub / github.com/CapSoftware/Cap / text

Function text

apps/desktop/src/routes/editor/AspectRatioSelect.tsx:78–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 <KSelect.Value<AspectRatio | "auto">>
77 {(state) => {
78 const text = () => {
79 const option = state.selectedOption();
80 return option === "auto" ? "Auto" : ASPECT_RATIOS[option].name;
81 };
82 return <>{text()}</>;
83 }}
84 </KSelect.Value>

Callers 8

RgbInputFunction · 0.70
AspectRatioSelectFunction · 0.70
HexColorInputFunction · 0.70
CaptionOverlayFunction · 0.70
HexColorInputFunction · 0.70
schema.tsFile · 0.50
mainFunction · 0.50
doubleConfirmFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected