버튼 수정

This commit is contained in:
kjs
2025-11-04 11:41:20 +09:00
parent 7aecae559b
commit d64ca5a8c0
7 changed files with 256 additions and 133 deletions

View File

@@ -425,9 +425,11 @@ export const InteractiveScreenViewerDynamic: React.FC<InteractiveScreenViewerPro
disabled={config?.disabled}
className="h-full w-full"
style={{
backgroundColor: config?.backgroundColor,
color: config?.textColor,
// 컴포넌트 스타일 먼저 적용
...comp.style,
// 설정값이 있으면 우선 적용
backgroundColor: config?.backgroundColor || comp.style?.backgroundColor,
color: config?.textColor || comp.style?.color,
}}
>
{label || "버튼"}