feat: UiModal 컴포넌트에 headerTitleClass props 추가

This commit is contained in:
swcho
2025-08-04 18:41:35 +09:00
parent 6808430c9a
commit b2a6285475
@@ -9,6 +9,7 @@ type ModalType = {
noHeaderYn?: 'N' | 'Y';
noFooterYn?: 'N' | 'Y';
headerTitle?: string;
headerTitleClass?: string;
footerContent?: React.ReactNode;
useDirectRender?: boolean;
}
@@ -21,6 +22,7 @@ export function UiModal({
noHeaderYn = 'N',
noFooterYn = 'N',
headerTitle,
headerTitleClass,
footerContent,
useDirectRender = false
}: ModalType) {
@@ -31,7 +33,7 @@ export function UiModal({
<DialogContent className={bodyClass}>
{noHeaderYn === 'N' && (
<DialogHeader>
<DialogDescription>
<DialogDescription className={headerTitleClass}>
{headerTitle}
</DialogDescription>
</DialogHeader>