feat: [template] IntegratedDetailTemplate hideActions 옵션 추가

This commit is contained in:
유병철
2026-03-19 21:07:05 +09:00
parent 7dccaf7bab
commit aa4e45df24
2 changed files with 3 additions and 0 deletions

View File

@@ -341,6 +341,7 @@ function IntegratedDetailTemplateInner<T extends Record<string, unknown>>(
const shouldSticky = stickyButtons && !isTopButtons;
const renderActionButtons = useCallback((additionalClass?: string) => {
if (actions.hideActions) return null;
return (
<DetailActions
mode={mode}

View File

@@ -136,6 +136,8 @@ export interface ActionConfig {
showBack?: boolean;
/** 목록 버튼 텍스트 */
backLabel?: string;
/** 하단 액션 바 전체 숨김 (컴포넌트가 자체 액션 바를 가진 경우) */
hideActions?: boolean;
/** 삭제 확인 메시지 */
deleteConfirmMessage?: {
title?: string;