mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-28 06:52:47 +00:00
14 lines
256 B
TypeScript
14 lines
256 B
TypeScript
|
import { Markdown } from './Markdown';
|
||
|
|
||
|
interface UserMessageProps {
|
||
|
content: string;
|
||
|
}
|
||
|
|
||
|
export function UserMessage({ content }: UserMessageProps) {
|
||
|
return (
|
||
|
<div className="overflow-hidden">
|
||
|
<Markdown>{content}</Markdown>
|
||
|
</div>
|
||
|
);
|
||
|
}
|