아코디언 컴포넌트 생성

This commit is contained in:
kjs
2025-09-12 16:47:02 +09:00
parent 49e8e40521
commit 52dd18747a
28 changed files with 3027 additions and 956 deletions

View File

@@ -91,13 +91,14 @@ export const DynamicComponentRenderer: React.FC<DynamicComponentRendererProps> =
children,
...props
}) => {
// component_config에서 실제 컴포넌트 타입 추출
const componentType = component.componentConfig?.type || component.type;
// 컴포넌트 타입 추출 - 새 시스템에서는 componentType 속성 사용, 레거시는 type 사용
const componentType = (component as any).componentType || component.type;
console.log("🔍 컴포넌트 타입 추출:", {
componentId: component.id,
componentConfigType: component.componentConfig?.type,
componentType: component.type,
componentTypeProp: (component as any).componentType,
finalComponentType: componentType,
componentConfig: component.componentConfig,
propsScreenId: props.screenId,