(props: TextBasedProps)
| 13 | } |
| 14 | |
| 15 | function 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 | |
| 32 | export interface HeadersProps { |
| 33 | headers: Record<string, string> |
nothing calls this directly
no outgoing calls
no test coverage detected