수정/삭제 기능 구현

This commit is contained in:
dohyeons
2025-11-07 16:02:01 +09:00
parent 672aba8404
commit afea879920
7 changed files with 534 additions and 49 deletions

View File

@@ -363,6 +363,22 @@ export const SplitPanelLayoutConfigPanel: React.FC<SplitPanelLayoutConfigPanelPr
/>
</div>
<div className="flex items-center justify-between">
<Label> </Label>
<Switch
checked={config.leftPanel?.showEdit ?? false}
onCheckedChange={(checked) => updateLeftPanel({ showEdit: checked })}
/>
</div>
<div className="flex items-center justify-between">
<Label> </Label>
<Switch
checked={config.leftPanel?.showDelete ?? false}
onCheckedChange={(checked) => updateLeftPanel({ showDelete: checked })}
/>
</div>
<div className="flex items-center justify-between">
<Label> + </Label>
<Switch
@@ -1007,6 +1023,22 @@ export const SplitPanelLayoutConfigPanel: React.FC<SplitPanelLayoutConfigPanelPr
/>
</div>
<div className="flex items-center justify-between">
<Label> </Label>
<Switch
checked={config.rightPanel?.showEdit ?? false}
onCheckedChange={(checked) => updateRightPanel({ showEdit: checked })}
/>
</div>
<div className="flex items-center justify-between">
<Label> </Label>
<Switch
checked={config.rightPanel?.showDelete ?? false}
onCheckedChange={(checked) => updateRightPanel({ showDelete: checked })}
/>
</div>
{/* 우측 패널 표시 컬럼 설정 */}
<div className="space-y-3 rounded-lg border border-green-200 bg-green-50 p-3">
<div className="flex items-center justify-between">