MCPcopy Create free account
hub / github.com/Noumena-Network/code / DeclaredCursorRow

Function DeclaredCursorRow

src/ink/inkCompactBaseline.test.tsx:72–84  ·  view source on GitHub ↗
({ text }: { text: string })

Source from the content-addressed store, hash-verified

70}
71
72function DeclaredCursorRow({ text }: { text: string }): React.ReactNode {
73 const cursorRef = useDeclaredCursor({
74 line: 0,
75 column: text.length,
76 active: true,
77 })
78
79 return (
80 <Box ref={cursorRef}>
81 <Text>{text}</Text>
82 </Box>
83 )
84}
85
86function TallDeclaredCursorHarness({
87 suffix = '',

Callers

nothing calls this directly

Calls 1

useDeclaredCursorFunction · 0.85

Tested by

no test coverage detected