Files
letta-code/src/cli/components/ErrorMessage.tsx
2025-10-24 21:19:24 -07:00

13 lines
238 B
TypeScript

import { Text } from "ink";
import { memo } from "react";
type ErrorLine = {
kind: "error";
id: string;
text: string;
};
export const ErrorMessage = memo(({ line }: { line: ErrorLine }) => {
return <Text>{line.text}</Text>;
});