Skip to content

Commit

Permalink
(#72) ๐ŸŽจ design: ๋ฃจํ‚ค ์ด๋ฏธ์ง€ ๋งํ’์„  ์ œ์ž‘
Browse files Browse the repository at this point in the history
  • Loading branch information
inaemon committed Nov 27, 2024
1 parent ab912ae commit 5b0fcc1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/pages/Chatbot/components/message/custom/RookieImageMessage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import Image from "next/image";

interface Props {
imgUrl: string;
}

// ์ฑ—๋ด‡ ์ปค์Šคํ…€ ๋งํ’์„  ์ปดํฌ๋„ŒํŠธ
// ์ด๋ฏธ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๋Š” ๋งํ’์„ 
const RookiePreformattedMessage = ({imgUrl}: Props) => {
return (
<div className="mb-2">
{/* ์ด๋ฏธ์ง€ ๋‚ด์šฉ */}
<Image
src={imgUrl}
alt="Category Icon"
className="max-w-full h-auto rounded-md"
/>
</div>
);
};

export default RookiePreformattedMessage;

0 comments on commit 5b0fcc1

Please sign in to comment.