mirror of
https://github.com/harivansh-afk/asap.it.git
synced 2026-04-17 15:04:51 +00:00
first commit
This commit is contained in:
commit
1cdbffff09
200 changed files with 30007 additions and 0 deletions
14
app/components/chat/AssistantMessage.tsx
Normal file
14
app/components/chat/AssistantMessage.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { memo } from 'react';
|
||||
import { Markdown } from './Markdown';
|
||||
|
||||
interface AssistantMessageProps {
|
||||
content: string;
|
||||
}
|
||||
|
||||
export const AssistantMessage = memo(({ content }: AssistantMessageProps) => {
|
||||
return (
|
||||
<div className="overflow-hidden w-full">
|
||||
<Markdown html>{content}</Markdown>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue