/** * 이용 규정 · 카드 — 규정 하나에 칸 하나. 번호가 붙어 "빠뜨리지 말라"는 인상이 강하다. * 노쇼·소음 클레임이 잦은 곳에 맞는다. */ import {ShieldCheck} from 'lucide-react'; import {EmptyStateNotice, SectionBody, SectionFrame, SectionHeading} from '../../primitives'; import type {SectionRenderProps} from '../../types'; import {ruleItems} from '../common'; export function RulesCards(props: SectionRenderProps) { const {section, isSelected, onSelect, template} = props; // ★ 규정을 지어내지 않는다 — 확인된 fact 에서만 만든다. const items = ruleItems(props.infoFields); return ( } /> {items.length === 0 && ( 확인된 이용 규정이 아직 없습니다 — 정보 탭에서 확인하면 여기에 나옵니다. )}
    {items.map((rule, idx) => (
  1. {idx + 1} {rule}
  2. ))}
); }