{item?.name ?? `아이템 ${itemId}`}
{item?.plaintext ? (
{item.plaintext}
) : null}
{descriptionHtml ? (
) : (
아이템 상세 정보를 불러오는 중입니다.
)}
{item?.gold.total ? (
가격:
{item.gold.total}{" "}
({item.gold.base || item.gold.total})
) : null}
);
}
function clamp(value: number, min: number, max: number) {
if (max < min) return min;
return Math.min(Math.max(value, min), max);
}