Files
frontend/apps/fo/app/components/common/UnderComment.tsx
T
mind-one003 8b2efad803 -주석 style적용 방식 수정
-대시보드, rdii조회 rdi계산 원본값에서 반올림한 후 계산되도록 수정
2025-09-09 14:46:11 +09:00

31 lines
638 B
TypeScript

import React from 'react'
/**
* 하단 주석 영역
*/
type CommentType={
commentStartPoint? : string,
commentArray? : string[],
divHeight? : string,
}
function UnderComment({commentStartPoint="☞", commentArray=[], divHeight="14"} :CommentType) {
if(commentArray && commentArray.length > 0){
return (
<div className={"mt-"+divHeight}>
{commentArray.map((item, index) => (
<React.Fragment key={"comment" + index}>
<span className="text-2xl font-bold text-gray-500">
{commentStartPoint} {item}
</span>
<br/>
</React.Fragment>
))}
</div>
)
}
}
export default UnderComment;