완료문항 12번 해설 수정
검토채점 기준 문구 보강
대기응시자 재시도 요청 검토
활성공개 전 최종 확인
보관감독관 메모 연결
@olundot/ui · Reference
높이가 제한된 패널 안에서 긴 목록이나 기록을 스크롤하게 만드는 viewport primitive입니다.
import { Badge, ScrollArea } from "@olundot/ui";
export function StudentScrollArea() {
return (
<ScrollArea style={{ height: 220 }}>
<ul>
{students.map((student) => (
<li key={student.name}>
{student.name}
<Badge tone={student.tone}>{student.status}</Badge>
</li>
))}
</ul>
</ScrollArea>
);
}import { ScrollArea, StatusBadge } from "@olundot/ui";
export function NotesPanel() {
return (
<ScrollArea className="h-[240px] rounded-[var(--radius-md)] border border-[var(--border-subtle)]">
<article>
{notes.map((note) => (
<p key={note.title}>
<StatusBadge status={note.status}>{note.label}</StatusBadge>
{note.title}
</p>
))}
</article>
</ScrollArea>
);
}