Files
letta-code/src/cli/components/UserMessage.tsx
2026-01-31 19:43:13 -08:00

13 lines
244 B
TypeScript

import { memo } from "react";
import { Text } from "./Text";
type UserLine = {
kind: "user";
id: string;
text: string;
};
export const UserMessage = memo(({ line }: { line: UserLine }) => {
return <Text>{`> ${line.text}`}</Text>;
});