"use client"; import Link from "next/link"; export type Crumb = { label: string; href?: string }; type Props = { title: string; crumbs: Crumb[]; note?: string; underlineWidthClass?: string; className?: string; wrapClassName?: string; hideFooterLine?: boolean; hideGuideText?: boolean; }; export default function SubPageHeader({ title, crumbs, note = "* 는 필수 값입니다.", // underlineWidthClass = "w-40", className = "", wrapClassName = "", // hideFooterLine = false, hideGuideText = false, }: Props) { return (
{/* 좌측 타이틀 */}

{title}

{/* 우측 브레드크럼 */}
{/* 하단 라인 + 안내문 */} {!hideGuideText && (
* {note.replace("*", "")}
)}
); }