16 lines
322 B
TypeScript
16 lines
322 B
TypeScript
import { Box, Text } from 'ink'
|
|
import * as React from 'react'
|
|
|
|
type Props = {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export function MessageResponse({ children }: Props): React.ReactNode {
|
|
return (
|
|
<Box flexDirection="row" height={1} overflow="hidden">
|
|
<Text>{' '}⎿ </Text>
|
|
{children}
|
|
</Box>
|
|
)
|
|
}
|