MCPcopy Create free account
hub / github.com/SplootCode/splootcode / TextBased

Function TextBased

packages/editor/src/runtime/response_viewer.tsx:15–30  ·  view source on GitHub ↗
(props: TextBasedProps)

Source from the content-addressed store, hash-verified

13}
14
15function TextBased(props: TextBasedProps) {
16 return (
17 <Text
18 as="pre"
19 whiteSpace={'pre-wrap'}
20 fontSize={'15px'}
21 fontFamily={'Inconsolata, monospace'}
22 backgroundColor={'gray.800'}
23 px="1"
24 borderRadius={'sm'}
25 width="100%"
26 >
27 {props.content}
28 </Text>
29 )
30}
31
32export interface HeadersProps {
33 headers: Record<string, string>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected