Highlight previous user input (#2507)

Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
Faizan Alam
2025-06-30 00:28:56 +01:00
committed by GitHub
parent 2096f971cd
commit 1732e90d52

View File

@@ -17,7 +17,15 @@ export const UserMessage: React.FC<UserMessageProps> = ({ text }) => {
const prefixWidth = prefix.length;
return (
<Box flexDirection="row" marginY={1}>
<Box
borderStyle="round"
borderColor={Colors.Gray}
flexDirection="row"
paddingX={2}
paddingY={0}
marginY={1}
alignSelf="flex-start"
>
<Box width={prefixWidth}>
<Text color={Colors.Gray}>{prefix}</Text>
</Box>