'use client'; import type { BroadcastInfo } from '@/types/broadcast'; import BroadcastCard from './BroadcastCard'; import styles from './styles/BroadcastSection.module.scss'; interface LiveSectionProps { broadcasts: BroadcastInfo[]; isLoading?: boolean; } export default function LiveSection({ broadcasts, isLoading = false }: LiveSectionProps) { return (

📺 실시간 LIVE

{isLoading ? ( // 로딩 스켈레톤 (8개) Array.from({ length: 8 }).map((_, index) => (
)) ) : ( broadcasts.map((broadcast) => ( )) )}
); }