26 lines
509 B
Plaintext
26 lines
509 B
Plaintext
export const GeminiMessage: React.FC<GeminiMessageProps> = ({
|
|
text,
|
|
// ...
|
|
}) => {
|
|
const prefix = '✦ ';
|
|
// ...
|
|
return (
|
|
<Box flexDirection="row">
|
|
<Box width={prefixWidth}>
|
|
<Text
|
|
color={Colors.AccentPurple}
|
|
aria-label={SCREEN_READER_MODEL_PREFIX}
|
|
>
|
|
{prefix}
|
|
</Text>
|
|
</Box>
|
|
<Box flexGrow={1} flexDirection="column">
|
|
<MarkdownDisplay
|
|
text={text}
|
|
// ...
|
|
/>
|
|
</Box>
|
|
</Box>
|
|
);
|
|
};
|