버튼 문제 수정 및 여러가지

This commit is contained in:
leeheejin
2025-11-05 16:36:32 +09:00
parent c6b2a30651
commit 0b676098a5
85 changed files with 9479 additions and 679 deletions

View File

@@ -571,8 +571,10 @@ export const ButtonPrimaryComponent: React.FC<ButtonPrimaryComponentProps> = ({
margin: "0",
lineHeight: "1.25",
boxShadow: componentConfig.disabled ? "0 1px 2px 0 rgba(0, 0, 0, 0.05)" : `0 1px 3px 0 ${buttonColor}40`,
// isInteractive 모드에서는 사용자 스타일 우선 적용
...(isInteractive && component.style ? component.style : {}),
// isInteractive 모드에서는 사용자 스타일 우선 적용 (width/height 제외)
...(isInteractive && component.style ? Object.fromEntries(
Object.entries(component.style).filter(([key]) => key !== 'width' && key !== 'height')
) : {}),
}}
onClick={handleClick}
onDragStart={onDragStart}