20 lines
547 B
TypeScript
20 lines
547 B
TypeScript
export default function PopupMissingParams({
|
|
title,
|
|
missingParams,
|
|
}: {
|
|
title: string;
|
|
missingParams: string[];
|
|
}) {
|
|
return (
|
|
<section className="flex min-h-dvh flex-col items-center justify-center gap-4 p-8 text-center">
|
|
<h1 className="text-2xl font-semibold">{title}</h1>
|
|
<p className="text-base text-gray-600">
|
|
팝업을 여는 데 필요한 값이 누락되었습니다.
|
|
</p>
|
|
<p className="text-sm text-gray-500">
|
|
누락된 값: {missingParams.join(", ")}
|
|
</p>
|
|
</section>
|
|
);
|
|
}
|