diff --git a/src/pages/Chatbot/components/message/custom/RookiePreformattedMessageWithTail.tsx b/src/pages/Chatbot/components/message/custom/RookiePreformattedMessageWithTail.tsx index eb2ddd7..45f09b7 100644 --- a/src/pages/Chatbot/components/message/custom/RookiePreformattedMessageWithTail.tsx +++ b/src/pages/Chatbot/components/message/custom/RookiePreformattedMessageWithTail.tsx @@ -6,7 +6,7 @@ interface Props { messageList: string[] } -// 챗봇 커스텀 말풍선 컴포넌트 +// 챗봇 커스텀 말풍선 컴포넌트 (꼬랑지가 붙은 버젼) // /n(new line) 등이 반영되도록 whitespace-pre-wrap 스타일 적용한 말풍선 const RookiePreformattedMessage = ({messageList}: Props) => { return ( diff --git a/src/pages/Chatbot/components/message/custom/RookieWhiteListMessageWithTail.tsx b/src/pages/Chatbot/components/message/custom/RookieWhiteListMessageWithTail.tsx new file mode 100644 index 0000000..f32a4a9 --- /dev/null +++ b/src/pages/Chatbot/components/message/custom/RookieWhiteListMessageWithTail.tsx @@ -0,0 +1,32 @@ +import React from "react"; +import Image from "next/image"; +import tailIcon from "@/src/assets/webp/chatbot_message_left_tail_white_big.webp"; // 꼬랑지 + +interface Props { + messageList: string[] +} + +// 챗봇 커스텀 말풍선 컴포넌트 (꼬랑지가 붙은 버젼) +// 메시지를 리스트로 출력 +const RookieWhiteListMessageWithTail = ({messageList}: Props) => { + return ( +