/**
 * 공통 팝업 셸 — AppPopup 래퍼 (하위 호환)
 */
import React from 'react';
import AppPopup, { type AppPopupProps } from './AppPopup';

export type PopupShellProps = Omit<AppPopupProps, 'titleKo' | 'badge'> & {
  title: React.ReactNode;
};

export const PopupShell: React.FC<PopupShellProps> = (props) => (
  <AppPopup backdrop={props.backdrop ?? true} {...props} />
);

export default PopupShell;
