eaf067db1c
Add AppPopup shell, shared CSS, MUI theme overrides, and center positioning for consistent modal styling across frontend and frontend_golden. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
414 B
TypeScript
16 lines
414 B
TypeScript
/**
|
|
* 공통 팝업 셸 — 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;
|