feat: letta code
This commit is contained in:
12
src/cli/components/UserMessage.tsx
Normal file
12
src/cli/components/UserMessage.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Text } from "ink";
|
||||
import { memo } from "react";
|
||||
|
||||
type UserLine = {
|
||||
kind: "user";
|
||||
id: string;
|
||||
text: string;
|
||||
};
|
||||
|
||||
export const UserMessage = memo(({ line }: { line: UserLine }) => {
|
||||
return <Text>{`> ${line.text}`}</Text>;
|
||||
});
|
||||
Reference in New Issue
Block a user