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 b6e0524 commit 725c6d6
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from "react";

interface Props {
messageList: string[]
}

// ์ฑ—๋ด‡ ์ปค์Šคํ…€ ๋งํ’์„  ์ปดํฌ๋„ŒํŠธ
// ๋ฉ”์‹œ์ง€๋ฅผ ๋ฆฌ์ŠคํŠธ๋กœ ์ถœ๋ ฅ
const RookieWhiteListMessage = ({messageList}: Props) => {
return (
<div className="bg-main-0 p-3 rounded-lg text-xs font-regular text-grayscale-90 max-w-xs">
{/** ๋ฉ”์‹œ์ง€ 1์ค„ ์ด์ƒ ๋ฐฐ์—ด๋กœ ๋ฐ›์•„์„œ ์—ฌ๋Ÿฌ li ํƒœ๊ทธ๋กœ ๋ฉ”์‹œ์ง€ ์ถœ๋ ฅํ•˜๊ธฐ */}
<ul className="space-y-1.5">
{messageList.map((message, index) => (
<li
key={index}
className="px-2 text-xs min-w-[180px] w-full text-left font-regular text-grayscale-90 rounded-md"
>
{message}
</li>
))}
</ul>
</div>
);
};

export default RookieWhiteListMessage;

0 comments on commit 725c6d6

Please sign in to comment.